From 728688f92b49e14efca3eaacf9130272238365f6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 20 Mar 2016 15:35:09 +0000 Subject: [PATCH] Hack configure to work with a cross compiler. --- configure | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/configure b/configure index 0279c8a..2a5bdfe 100755 --- 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 - `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 -- 2.30.2