Hack configure to work with a cross compiler.
authorCarl Hetherington <cth@carlh.net>
Sun, 20 Mar 2016 15:35:09 +0000 (15:35 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 20 Mar 2016 17:48:26 +0000 (17:48 +0000)
configure

index 0279c8a7f1a4aae72148c9fae6b623b5aceb1ccf..2a5bdfe523a9023918e364088dedc08bd9f80a9b 100755 (executable)
--- a/configure
+++ b/configure
@@ -4060,39 +4060,6 @@ else
 fi
 
 
-
-if test "$cross_compiling" = yes; then :
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <string.h>
-                     `grep "define RTAUDIO_VERSION" $srcdir/RtAudio.h`
-int
-main ()
-{
-return strcmp(RTAUDIO_VERSION, PACKAGE_VERSION);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "testing RTAUDIO_VERSION==PACKAGE_VERSION failed, check that RtAudio.h defines RTAUDIO_VERSION as \"$PACKAGE_VERSION\" or that the first line of configure.ac has been updated.
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-
 # Enable some nice automake features if they are available
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5