Annotation of sql/pgsql/configure.in, revision 1.16
1.1 parser 1: dnl Process this file with autoconf to produce a configure script.
2: AC_INIT(parser3pgsql.C)
1.14 paf 3: AM_INIT_AUTOMAKE(parser3pgsql, 3.1.HEAD, nodefine)
1.1 parser 4:
5: AM_CONFIG_HEADER(config_auto.h)
6:
7: dnl Arguments
8:
1.3 parser 9: AC_ARG_WITH(pgsql-inc,[ --with-pgsql-inc[=DIR] DIR is the PgSQL includes directory],,
1.1 parser 10: withval="/usr/local/pgsql/include"
11: )
12: PGSQL_INC=$withval
13: AC_SUBST(PGSQL_INC)
14:
1.2 parser 15: if test \! -f "$PGSQL_INC/libpq-fe.h"; then
16: AC_MSG_ERROR($PGSQL_INC does not seem to be valid PgSQL includes directory)
17: fi
1.1 parser 18:
19: dnl Checks for programs.
20: AC_PROG_INSTALL
21: AC_PROG_MAKE_SET
22: AC_PROG_AWK
23:
24: AC_LANG_CPLUSPLUS
25: AC_PROG_CXX
26:
27: dnl Enable building of the convenience library
28: dnl and set LIBLTDL accordingly
29: AC_LIBLTDL_CONVENIENCE
30: dnl Substitute INCLTDL and LIBLTDL in the Makefiles
31: AC_SUBST(INCLTDL)
32: AC_SUBST(LIBLTDL)
33: AC_SUBST(LIBADD_DL)
34: dnl Configure libtool
1.7 paf 35: AC_DISABLE_STATIC
1.9 paf 36: AC_LIBTOOL_WIN32_DLL
1.1 parser 37: AM_PROG_LIBTOOL
38: dnl Configure libltdl
39: AC_CONFIG_SUBDIRS(libltdl)
40:
41: dnl Checks for libraries.
42:
43: dnl Checks for header files.
44:
45: AC_CHECK_HEADERS(
46: stdio.h \
47: stdlib.h \
1.5 paf 48: string.h \
1.16 ! paf 49: setjmp.h \
! 50: ctype.h
1.1 parser 51: )
52:
53: dnl Checks for typedefs, structures, and compiler characteristics.
54:
55: AC_TYPE_SIZE_T
56:
57: dnl Checks for library functions.
58:
59: dnl Output makefiles
60:
1.11 paf 61: AC_OUTPUT(Makefile)
E-mail: