diff options
author | dos-reis <gdr@axiomatics.org> | 2012-02-03 11:21:00 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2012-02-03 11:21:00 +0000 |
commit | d36c43d159d39a847ef8728e5da201bb29e747f5 (patch) | |
tree | 06befc858ccc2912afd67fc705f64e568a6e7a16 /configure | |
parent | a00d32a888a910fe517afb91cc48a6eb44ed58da (diff) | |
download | open-axiom-d36c43d159d39a847ef8728e5da201bb29e747f5.tar.gz |
* config/open-axiom.m4 (OPENAXIOM_ALIGNAS_SPECIFIER): New.
(OPENAXIOM_CHECK_MISC): Use it.
src/
* utils/vm.H: Add more VM data structures.
* utils/vm.cc (BasicContext::make_operator): Define.
* algebra/Makefile.in (SPADFILES): Include syntax.spad and
spad-parser.spad.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 96 |
1 files changed, 65 insertions, 31 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for OpenAxiom 1.5.0-2011-12-15. +# Generated by GNU Autoconf 2.68 for OpenAxiom 1.5.0-2012-02-03. # # Report bugs to <open-axiom-bugs@lists.sf.net>. # @@ -709,8 +709,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='OpenAxiom' PACKAGE_TARNAME='openaxiom' -PACKAGE_VERSION='1.5.0-2011-12-15' -PACKAGE_STRING='OpenAxiom 1.5.0-2011-12-15' +PACKAGE_VERSION='1.5.0-2012-02-03' +PACKAGE_STRING='OpenAxiom 1.5.0-2012-02-03' PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net' PACKAGE_URL='' @@ -1502,7 +1502,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.5.0-2011-12-15 to adapt to many kinds of systems. +\`configure' configures OpenAxiom 1.5.0-2012-02-03 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1577,7 +1577,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of OpenAxiom 1.5.0-2011-12-15:";; + short | recursive ) echo "Configuration of OpenAxiom 1.5.0-2012-02-03:";; esac cat <<\_ACEOF @@ -1688,7 +1688,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -OpenAxiom configure 1.5.0-2011-12-15 +OpenAxiom configure 1.5.0-2012-02-03 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. @@ -2681,7 +2681,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.5.0-2011-12-15, which was +It was created by OpenAxiom $as_me 1.5.0-2012-02-03, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ @@ -5005,6 +5005,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + ac_aux_dir= for ac_dir in config "$srcdir"/config; do if test -f "$ac_dir/install-sh"; then @@ -5589,7 +5592,7 @@ fi # Define the identity of the package. PACKAGE='openaxiom' - VERSION='1.5.0-2011-12-15' + VERSION='1.5.0-2012-02-03' cat >>confdefs.h <<_ACEOF @@ -9096,13 +9099,13 @@ if ${lt_cv_nm_interface+:} false; then : else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:9099: $ac_compile\"" >&5) + (eval echo "\"\$as_me:9102: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:9102: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:9105: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:9105: output\"" >&5) + (eval echo "\"\$as_me:9108: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -10305,7 +10308,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 10308 "configure"' > conftest.$ac_ext + echo '#line 10311 "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -12398,11 +12401,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:12401: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12404: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12405: \$? = $ac_status" >&5 + echo "$as_me:12408: \$? = $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. @@ -12737,11 +12740,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:12740: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12743: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:12744: \$? = $ac_status" >&5 + echo "$as_me:12747: \$? = $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. @@ -12842,11 +12845,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:12845: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12848: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12849: \$? = $ac_status" >&5 + echo "$as_me:12852: \$? = $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 @@ -12897,11 +12900,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:12900: $lt_compile\"" >&5) + (eval echo "\"\$as_me:12903: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:12904: \$? = $ac_status" >&5 + echo "$as_me:12907: \$? = $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 @@ -15264,7 +15267,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 15267 "configure" +#line 15270 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15360,7 +15363,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 15363 "configure" +#line 15366 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17316,11 +17319,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:17319: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17322: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:17323: \$? = $ac_status" >&5 + echo "$as_me:17326: \$? = $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. @@ -17415,11 +17418,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:17418: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17421: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17422: \$? = $ac_status" >&5 + echo "$as_me:17425: \$? = $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 @@ -17467,11 +17470,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:17470: $lt_compile\"" >&5) + (eval echo "\"\$as_me:17473: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:17474: \$? = $ac_status" >&5 + echo "$as_me:17477: \$? = $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 @@ -20976,7 +20979,7 @@ _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : oa_alignment="alignof" else - as_fn_error $? "C/C++ compiler does not support alignment query operator" "$LINENO" 5 + as_fn_error $? "C++ compiler does not support alignment query operator" "$LINENO" 5 fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi @@ -20989,6 +20992,37 @@ _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: result: $oa_alignment" >&5 $as_echo "$oa_alignment" >&6; } + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment boundary specifier syntax" >&5 +$as_echo_n "checking alignment boundary specifier syntax... " >&6; } +oa_alignas= +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +alignas(16) int a = 42; +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + oa_alignas="alignas(N)" +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__attribute__((__aligned__(16))) int a = 42; +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + oa_alignas="__attribute__((__aligned__(N)))" +else + as_fn_error $? "C++ compiler does not support alignment specifier" "$LINENO" 5 +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +cat >>confdefs.h <<_ACEOF +#define openaxiom_alignas(N) $oa_alignas +_ACEOF + +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $oa_alignas" >&5 +$as_echo "$oa_alignas" >&6; } + case $oa_gnu_compiler in yes) CFLAGS="$CFLAGS -O2 -Wall" @@ -21602,7 +21636,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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.5.0-2011-12-15, which was +This file was extended by OpenAxiom $as_me 1.5.0-2012-02-03, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21668,7 +21702,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -OpenAxiom config.status 1.5.0-2011-12-15 +OpenAxiom config.status 1.5.0-2012-02-03 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" |