diff options
author | dos-reis <gdr@axiomatics.org> | 2010-02-07 11:28:15 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-02-07 11:28:15 +0000 |
commit | 511d7f753a42d2ec117e2c52fcaf3f3e7615f676 (patch) | |
tree | 477b25f320f341da71fdf8ea6f41718016f4dec3 /configure | |
parent | 433490e3bdb3fca9fe28027c761f0438407b2acc (diff) | |
download | open-axiom-511d7f753a42d2ec117e2c52fcaf3f3e7615f676.tar.gz |
* configure.ac.pamphlet: Add support for --enable-threads.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 82 |
1 files changed, 53 insertions, 29 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-01-30. +# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-02-06. # # Report bugs to <open-axiom-bugs@lists.sf.net>. # @@ -745,8 +745,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='OpenAxiom' PACKAGE_TARNAME='openaxiom' -PACKAGE_VERSION='1.4.0-2010-01-30' -PACKAGE_STRING='OpenAxiom 1.4.0-2010-01-30' +PACKAGE_VERSION='1.4.0-2010-02-06' +PACKAGE_STRING='OpenAxiom 1.4.0-2010-02-06' PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net' ac_unique_file="src/Makefile.pamphlet" @@ -813,6 +813,7 @@ oa_enable_profiling axiom_optimize_options axiom_enable_checking axiom_all_prerequisites +oa_enable_threads axiom_fasl_type oa_use_dynamic_lib axiom_eval_flags @@ -939,6 +940,7 @@ with_gnu_ld enable_libtool_lock with_lisp enable_gcl +enable_threads enable_checking enable_profiling with_x @@ -1509,7 +1511,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures OpenAxiom 1.4.0-2010-01-30 to adapt to many kinds of systems. +\`configure' configures OpenAxiom 1.4.0-2010-02-06 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1579,7 +1581,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-01-30:";; + short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-02-06:";; esac cat <<\_ACEOF @@ -1593,6 +1595,7 @@ Optional Features: optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-gcl build GCL from OpenAxiom source + --enable-threads turn on threads support --enable-checking turn runtime checking on --enable-profiling turn profiling on @@ -1685,7 +1688,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -OpenAxiom configure 1.4.0-2010-01-30 +OpenAxiom configure 1.4.0-2010-02-06 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1699,7 +1702,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by OpenAxiom $as_me 1.4.0-2010-01-30, which was +It was created by OpenAxiom $as_me 1.4.0-2010-02-06, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -5079,13 +5082,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:5082: $ac_compile\"" >&5) + (eval echo "\"\$as_me:5085: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:5085: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:5088: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:5088: output\"" >&5) + (eval echo "\"\$as_me:5091: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -6287,7 +6290,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6290 "configure"' > conftest.$ac_ext + echo '#line 6293 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8558,11 +8561,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:8561: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8564: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8565: \$? = $ac_status" >&5 + echo "$as_me:8568: \$? = $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. @@ -8897,11 +8900,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:8900: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8903: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8904: \$? = $ac_status" >&5 + echo "$as_me:8907: \$? = $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. @@ -9002,11 +9005,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:9005: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9008: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9009: \$? = $ac_status" >&5 + echo "$as_me:9012: \$? = $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 @@ -9057,11 +9060,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:9060: $lt_compile\"" >&5) + (eval echo "\"\$as_me:9063: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:9064: \$? = $ac_status" >&5 + echo "$as_me:9067: \$? = $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 @@ -11857,7 +11860,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11860 "configure" +#line 11863 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11953,7 +11956,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11956 "configure" +#line 11959 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -13973,11 +13976,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:13976: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13979: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13980: \$? = $ac_status" >&5 + echo "$as_me:13983: \$? = $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. @@ -14072,11 +14075,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:14075: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14078: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14079: \$? = $ac_status" >&5 + echo "$as_me:14082: \$? = $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 @@ -14124,11 +14127,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:14127: $lt_compile\"" >&5) + (eval echo "\"\$as_me:14130: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:14131: \$? = $ac_status" >&5 + echo "$as_me:14134: \$? = $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 @@ -16176,6 +16179,27 @@ $as_echo "$axiom_fasl_type" >&6; } fi +## Does it make sense to pretend that we support multithreading? +oa_enable_threads=no +# Check whether --enable-threads was given. +if test "${enable_threads+set}" = set; then + enableval=$enable_threads; case $enableval in + yes|no) oa_enable_threads=$enableval ;; + *) { { $as_echo "$as_me:$LINENO: error: erroneous value for --enable-threads" >&5 +$as_echo "$as_me: error: erroneous value for --enable-threads" >&2;} + { (exit 1); exit 1; }; } ;; + esac +fi + + +# GNU compiler wants to have a hint about multithreading. +case $GCC,$oa_enable_threads in + yes,yes) + axiom_cflags="$axiom_cflags -pthread" +esac + + + axiom_optimize_options=speed ## Shall we proclaim safety? @@ -21124,7 +21148,7 @@ exec 6>&1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by OpenAxiom $as_me 1.4.0-2010-01-30, which was +This file was extended by OpenAxiom $as_me 1.4.0-2010-02-06, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21187,7 +21211,7 @@ Report bugs to <bug-autoconf@gnu.org>." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_version="\\ -OpenAxiom config.status 1.4.0-2010-01-30 +OpenAxiom config.status 1.4.0-2010-02-06 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |