|
|
| version 1.31, 2012/06/09 22:40:26 | version 1.36, 2012/06/27 08:23:34 |
|---|---|
| Line 1 | Line 1 |
| dnl Autoconf initialisation | dnl Autoconf initialisation |
| AC_PREREQ(2.59) | AC_PREREQ(2.59) |
| AC_INIT(parser3, 10.2) | AC_INIT(parser3, 10.3) |
| AC_CONFIG_SRCDIR(parser3oracle.C) | AC_CONFIG_SRCDIR(parser3oracle.C) |
| AM_CONFIG_HEADER(config_auto.h) | AM_CONFIG_HEADER(config_auto.h) |
| Line 30 if test \! -f "$ORACLE_PUBLIC_INC/nzt.h" | Line 30 if test \! -f "$ORACLE_PUBLIC_INC/nzt.h" |
| AC_MSG_ERROR($ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory) | AC_MSG_ERROR($ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory) |
| fi | fi |
| AC_ARG_WITH(dynamic-stdcpp, [ --with-dynamic-stdcpp link libstdc++ dynamically | |
| by default, libstdc++ is linked statically],[ | |
| LDFLAGS="-lstdc++" | |
| ],[ | |
| LDFLAGS="-Wl,-Bstatic -Wl,-lstdc++ -Wl,-Bdynamic" | |
| ]) | |
| AC_SUBST(LDFLAGS) | |
| dnl Checks for programs | dnl Checks for programs |
| AC_PROG_INSTALL | AC_PROG_INSTALL |
| AC_PROG_CXX | AC_PROG_CXX |
| Line 46 AC_PROG_CC | Line 37 AC_PROG_CC |
| dnl Enable building of the convenience library | dnl Enable building of the convenience library |
| LT_CONFIG_LTDL_DIR(libltdl) | LT_CONFIG_LTDL_DIR(libltdl) |
| LT_INIT(dlopen win32-dll) | LT_INIT(disable-static dlopen win32-dll) |
| LTDL_INIT | LTDL_INIT |
| dnl Configure libtool | |
| AC_DISABLE_STATIC | |
| dnl Checks for libraries | dnl Checks for libraries |
| dnl Checks for header files | dnl Checks for header files |