From 2a4104845c1ad1bda28d9d03e6e29925479b1cff Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 1 Jan 2011 17:52:42 +0000 Subject: * configure.ac: Reject ECL on Mac OS X as it cannot give reliable information about its binary personality. --- ChangeLog | 5 +++++ config/open-axiom.m4 | 7 +++++++ configure | 47 +++++++++++++++++++++++++++-------------------- 3 files changed, 39 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index e69de29b..52a0b9ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -0,0 +1,5 @@ +2011-01-01 Gabriel Dos Reis + + * configure.ac: Reject ECL on Mac OS X as it cannot give reliable + information about its binary personality. + diff --git a/config/open-axiom.m4 b/config/open-axiom.m4 index c26b4cde..0146c224 100644 --- a/config/open-axiom.m4 +++ b/config/open-axiom.m4 @@ -49,6 +49,13 @@ if test x"$oa_include_gcl" != xyes; then ;; esac ;; + # ECL does not provide useful information for dectecing CPU precision + *ecl*) + case $target in + *darwin*) + AC_MSG_ERROR([We do not know how to extend this Lisp system with native libraries. Please consider SBCL or better]) + esac + ;; esac fi ]) diff --git a/configure b/configure index 1c585ec2..7c427bd3 100755 --- a/configure +++ b/configure @@ -5782,6 +5782,13 @@ $as_echo "$v" >&6; } ;; esac ;; + # ECL does not provide useful information for dectecing CPU precision + *ecl*) + case $target in + *darwin*) + as_fn_error "We do not know how to extend this Lisp system with native libraries. Please consider SBCL or better" "$LINENO" 5 + esac + ;; esac fi @@ -8498,13 +8505,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:8501: $ac_compile\"" >&5) + (eval echo "\"\$as_me:8508: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:8504: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:8511: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:8507: output\"" >&5) + (eval echo "\"\$as_me:8514: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -9706,7 +9713,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 9709 "configure"' > conftest.$ac_ext + echo '#line 9716 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -11800,11 +11807,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:11803: $lt_compile\"" >&5) + (eval echo "\"\$as_me:11810: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:11807: \$? = $ac_status" >&5 + echo "$as_me:11814: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -12139,11 +12146,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12142: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12149: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12146: \$? = $ac_status" >&5 + echo "$as_me:12153: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -12244,11 +12251,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12247: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12254: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12251: \$? = $ac_status" >&5 + echo "$as_me:12258: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12299,11 +12306,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:12302: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12309: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12306: \$? = $ac_status" >&5 + echo "$as_me:12313: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -14666,7 +14673,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 14669 "configure" +#line 14676 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -14762,7 +14769,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 14765 "configure" +#line 14772 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16718,11 +16725,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16721: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16728: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:16725: \$? = $ac_status" >&5 + echo "$as_me:16732: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -16817,11 +16824,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16820: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16827: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16824: \$? = $ac_status" >&5 + echo "$as_me:16831: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -16869,11 +16876,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:16872: $lt_compile\"" >&5) + (eval echo "\"\$as_me:16879: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:16876: \$? = $ac_status" >&5 + echo "$as_me:16883: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized -- cgit v1.2.3