|
|
| version 1.6, 2001/11/10 16:11:24 | version 1.23, 2007/12/26 16:19:24 |
|---|---|
| Line 1 | Line 1 |
| dnl Process this file with autoconf to produce a configure script. | dnl Process this file with autoconf to produce a configure script. |
| AC_INIT(parser3oracle.C) | AC_INIT(parser3oracle.C) |
| AM_INIT_AUTOMAKE(parser3oracleclient, 3.0g, nodefine) | AM_INIT_AUTOMAKE(parser3oracle, 9.6, nodefine) |
| AM_CONFIG_HEADER(config_auto.h) | AM_CONFIG_HEADER(config_auto.h) |
| Line 32 dnl Checks for programs. | Line 32 dnl Checks for programs. |
| AC_PROG_INSTALL | AC_PROG_INSTALL |
| AC_PROG_MAKE_SET | AC_PROG_MAKE_SET |
| AC_PROG_AWK | AC_PROG_AWK |
| AC_LANG_CPLUSPLUS | |
| AC_PROG_CXX | AC_PROG_CXX |
| AC_PROG_CC | |
| dnl most tests should be compiled with C compiler [especially qsort test] | |
| AC_LANG_C | |
| dnl Enable building of the convenience library | dnl Enable building of the convenience library |
| dnl and set LIBLTDL accordingly | dnl and set LIBLTDL accordingly |
| Line 43 dnl Substitute INCLTDL and LIBLTDL in th | Line 46 dnl Substitute INCLTDL and LIBLTDL in th |
| AC_SUBST(INCLTDL) | AC_SUBST(INCLTDL) |
| AC_SUBST(LIBLTDL) | AC_SUBST(LIBLTDL) |
| AC_SUBST(LIBADD_DL) | AC_SUBST(LIBADD_DL) |
| dnl Check for dlopen support | |
| AC_LIBTOOL_DLOPEN | |
| dnl Configure libtool | dnl Configure libtool |
| AM_PROG_LIBTOOL | AC_DISABLE_STATIC |
| AC_LIBTOOL_WIN32_DLL | |
| AC_PROG_LIBTOOL | |
| dnl Configure libltdl | dnl Configure libltdl |
| AC_CONFIG_SUBDIRS(libltdl) | AC_CONFIG_SUBDIRS(libltdl) |
| Line 64 setjmp.h | Line 67 setjmp.h |
| ) | ) |
| AC_MSG_CHECKING(for BSD setenv/getenv/unsetenv) | AC_MSG_CHECKING(for BSD setenv/getenv/unsetenv) |
| AC_TRY_COMPILE( | AC_TRY_LINK( |
| #ifdef HAVE_STDLIB_H | #ifdef HAVE_STDLIB_H |
| # include <stdlib.h> | # include <stdlib.h> |
| #endif | #endif |
| Line 88 unsetenv(TEST_NAME); | Line 91 unsetenv(TEST_NAME); |
| AC_MSG_RESULT(no) | AC_MSG_RESULT(no) |
| AC_MSG_CHECKING(for POSIX putenv/getenv) | AC_MSG_CHECKING(for POSIX putenv/getenv) |
| AC_TRY_COMPILE( | AC_TRY_LINK( |
| #ifdef HAVE_STDLIB_H | #ifdef HAVE_STDLIB_H |
| # include <stdlib.h> | # include <stdlib.h> |
| #endif | #endif |
| Line 121 dnl Checks for library functions. | Line 124 dnl Checks for library functions. |
| dnl Output makefiles | dnl Output makefiles |
| AC_OUTPUT(libltdl/Makefile Makefile) | AC_OUTPUT(Makefile) |