diff options
author | dos-reis <gdr@axiomatics.org> | 2015-06-01 04:05:15 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2015-06-01 04:05:15 +0000 |
commit | 804fb6bd7df06d47341ba360f7ea4f3705d29a64 (patch) | |
tree | 759c15a65ff1b58f669aec0b917ee7a90f07a19b /configure | |
parent | 76cac1158adc1b9305d36fb43f64f837de26f460 (diff) | |
download | open-axiom-804fb6bd7df06d47341ba360f7ea4f3705d29a64.tar.gz |
Fix typos in configration scripts.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 75 |
1 files changed, 74 insertions, 1 deletions
@@ -710,6 +710,7 @@ OA_DELAYED_FFI_FALSE OA_DELAYED_FFI_TRUE OA_BUILD_GCL_FALSE OA_BUILD_GCL_TRUE +oa_extra_cxxflags OA_USE_LLVM_FALSE OA_USE_LLVM_TRUE oa_use_llvm @@ -6660,7 +6661,79 @@ else fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -OPENAXIOM_CXX_EXTRA_OPTIONS + +oa_extra_cxxflags= + +opt=-Wno-mismatch-tags # mandatory +accumulator=oa_extra_cxxflags # optional +if test -z $accumulator; then + accumulator=CXXFLAGS +fi +current_options=\$${accumulator} +oa_saved_cxxflags="$CXXFLAGS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports \"$opt\"" >&5 +$as_echo_n "checking whether $CXX supports \"$opt\"... " >&6; } +CXXFLAGS="$CXXFLAGS $opt" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + CXXFLAGS=$oa_saved_cxxflags + eval "$accumulator=\"$current_options $opt\"" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + CXXFLAGS=$oa_saved_cxxflags +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + +opt=-Wno-string-plus-int # mandatory +accumulator=oa_extra_cxxflags # optional +if test -z $accumulator; then + accumulator=CXXFLAGS +fi +current_options=\$${accumulator} +oa_saved_cxxflags="$CXXFLAGS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports \"$opt\"" >&5 +$as_echo_n "checking whether $CXX supports \"$opt\"... " >&6; } +CXXFLAGS="$CXXFLAGS $opt" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + CXXFLAGS=$oa_saved_cxxflags + eval "$accumulator=\"$current_options $opt\"" +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + CXXFLAGS=$oa_saved_cxxflags +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + + + if test x$oa_include_gcl = xyes; then OA_BUILD_GCL_TRUE= OA_BUILD_GCL_FALSE='#' |