Annotation of sql/pgsql/configure.in, revision 1.23
1.23 ! misha 1: dnl Process this file with autoconf to produce a configure script.
! 2: AC_INIT(parser3pgsql.C)
! 3: AM_INIT_AUTOMAKE(parser3pgsql, 10.1, nodefine)
! 4:
! 5: AM_CONFIG_HEADER(config_auto.h)
! 6:
! 7: dnl Arguments
! 8:
! 9: AC_ARG_WITH(pgsql-inc,[ --with-pgsql-inc[=DIR] DIR is the PgSQL includes directory],,
! 10: withval="/usr/local/pgsql/include"
! 11: )
! 12: PGSQL_INC=$withval
! 13: AC_SUBST(PGSQL_INC)
! 14:
! 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
! 18:
! 19: dnl Checks for programs.
! 20: AC_PROG_INSTALL
! 21: AC_PROG_MAKE_SET
! 22: AC_PROG_AWK
! 23: AC_PROG_CXX
! 24: AC_PROG_CC
! 25:
! 26: dnl most tests should be compiled with C compiler [especially qsort test]
! 27: AC_LANG_C
! 28:
! 29: dnl Enable building of the convenience library
! 30: dnl and set LIBLTDL accordingly
! 31: AC_LIBLTDL_CONVENIENCE
! 32: dnl Substitute INCLTDL and LIBLTDL in the Makefiles
! 33: AC_SUBST(INCLTDL)
! 34: AC_SUBST(LIBLTDL)
! 35: AC_SUBST(LIBADD_DL)
! 36: dnl Configure libtool
! 37: AC_DISABLE_STATIC
! 38: AC_LIBTOOL_WIN32_DLL
! 39: AM_PROG_LIBTOOL
! 40: dnl Configure libltdl
! 41: AC_CONFIG_SUBDIRS(libltdl)
! 42:
! 43: dnl Checks for libraries.
! 44:
! 45: dnl Checks for header files.
! 46:
! 47: AC_CHECK_HEADERS(
! 48: stdio.h \
! 49: stdlib.h \
! 50: string.h \
! 51: setjmp.h \
! 52: ctype.h
! 53: )
! 54:
! 55: dnl Checks for typedefs, structures, and compiler characteristics.
! 56:
! 57: AC_TYPE_SIZE_T
! 58:
! 59: dnl Checks for library functions.
! 60:
! 61: dnl Output makefiles
! 62:
! 63: AC_OUTPUT(Makefile)
E-mail: