diff options
author | dos-reis <gdr@axiomatics.org> | 2010-08-24 14:42:22 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-08-24 14:42:22 +0000 |
commit | ea2ea538c6a308bfc1ca17142ad3e272f5758e80 (patch) | |
tree | 563025e52e033c281d5c12d0079babeef9019dd0 /configure | |
parent | d0832d123c8ddd89ba7f14a338dd7fdc0e8af311 (diff) | |
download | open-axiom-ea2ea538c6a308bfc1ca17142ad3e272f5758e80.tar.gz |
Implement an s-expression C++ library.
* utils/hash-table.H: New.
* utils/sexpr.H: Likewise.
* utils/sexpr.cc: Likewise.
* utils/string-pool.H: Likewise.
* utils/string-pool.cc: Likewise.
* utils/storage.H: Include openaxiom-c-macros.h
(Memory::Storage): New.
(Memory::Arena): Likewise.
* utils/storage.cc: Implement member functions of new class.
* utils/Makefile.in (libOpenAxiom_HEADERS): Include hash-table.H,
string-pool.H, and sexpr.H
(libOpenAxiom_SOURCES): Include string-pool.cc and sexpr.cc
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 91 |
1 files changed, 82 insertions, 9 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-08-20. +# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-08-24. # # 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-08-20' -PACKAGE_STRING='OpenAxiom 1.4.0-2010-08-20' +PACKAGE_VERSION='1.4.0-2010-08-24' +PACKAGE_STRING='OpenAxiom 1.4.0-2010-08-24' PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net' ac_unique_file="src/Makefile.pamphlet" @@ -1509,7 +1509,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-08-20 to adapt to many kinds of systems. +\`configure' configures OpenAxiom 1.4.0-2010-08-24 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1579,7 +1579,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-08-20:";; + short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-08-24:";; esac cat <<\_ACEOF @@ -1687,7 +1687,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -OpenAxiom configure 1.4.0-2010-08-20 +OpenAxiom configure 1.4.0-2010-08-24 generated by GNU Autoconf 2.63 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @@ -1701,7 +1701,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-08-20, which was +It was created by OpenAxiom $as_me 1.4.0-2010-08-24, which was generated by GNU Autoconf 2.63. Invocation command line was $ $0 $@ @@ -22193,6 +22193,79 @@ _ACEOF fi + +{ $as_echo "$as_me:$LINENO: checking name of alignment query operator" >&5 +$as_echo_n "checking name of alignment query operator... " >&6; } +oa_alignment= +cat >conftest.$ac_ext <<_ACEOF +int a = __alignof(int); +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + oa_alignment="__alignof" +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +int a = alignof(int); +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" +$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + oa_alignment="alignof" +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + { { $as_echo "$as_me:$LINENO: error: C/C++ compiler does not support alignment query operator" >&5 +$as_echo "$as_me: error: C/C++ compiler does not support alignment query operator" >&2;} + { (exit 1); exit 1; }; } +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_alignment $oa_alignment +_ACEOF + +{ $as_echo "$as_me:$LINENO: result: $oa_alignment" >&5 +$as_echo "$oa_alignment" >&6; } + case $GCC in yes) CFLAGS="$CFLAGS -O2 -Wall" @@ -22651,7 +22724,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-08-20, which was +This file was extended by OpenAxiom $as_me 1.4.0-2010-08-24, which was generated by GNU Autoconf 2.63. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -22714,7 +22787,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-08-20 +OpenAxiom config.status 1.4.0-2010-08-24 configured by $0, generated by GNU Autoconf 2.63, with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |