Hack configure to work with a cross compiler.
authorCarl Hetherington <cth@carlh.net>
Mon, 15 Apr 2019 12:50:57 +0000 (13:50 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 15 Apr 2019 19:49:03 +0000 (20:49 +0100)
configure

index b75262eeaeb130cea41721ca7be4f26408c6d268..eb53956666dac6d3ae694f58fac1abb73f2886d6 100755 (executable)
--- a/configure
+++ b/configure
@@ -4080,38 +4080,6 @@ 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