|
|
| version 1.492, 2006/12/14 21:49:54 | version 1.493, 2006/12/21 16:05:12 |
|---|---|
| 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. |
| dnl $PostgreSQL: pgsql/configure.in,v 1.491 2006/12/02 16:43:12 tgl Exp $ | dnl $PostgreSQL: pgsql/configure.in,v 1.492 2006/12/14 21:49:54 tgl Exp $ |
| dnl | dnl |
| dnl Developers, please strive to achieve this order: | dnl Developers, please strive to achieve this order: |
| dnl | dnl |
| Line 532 PGAC_ARG_BOOL(with, libedit-preferred, n | Line 532 PGAC_ARG_BOOL(with, libedit-preferred, n |
| # | # |
| # XML | |
| # | |
| PGAC_ARG_BOOL(with, libxml, no, [ --with-libxml build with XML support], | |
| [AC_DEFINE([USE_LIBXML], 1, [Define to 1 to build with XML support. (--with-libxml)])]) | |
| # | |
| # Zlib | # Zlib |
| # | # |
| PGAC_ARG_BOOL(with, zlib, yes, | PGAC_ARG_BOOL(with, zlib, yes, |
| Line 716 if test "$with_pam" = yes ; then | Line 723 if test "$with_pam" = yes ; then |
| AC_CHECK_LIB(pam, pam_start, [], [AC_MSG_ERROR([library 'pam' is required for PAM])]) | AC_CHECK_LIB(pam, pam_start, [], [AC_MSG_ERROR([library 'pam' is required for PAM])]) |
| fi | fi |
| if test "$with_libxml" = yes ; then | |
| AC_CHECK_LIB(xml2, xmlInitParser, [], [AC_MSG_ERROR([library 'xml2' is required for XML support])]) | |
| fi | |
| ## | ## |
| ## Header files | ## Header files |
| Line 791 if test "$with_pam" = yes ; then | Line 802 if test "$with_pam" = yes ; then |
| [AC_MSG_ERROR([header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM.])])]) | [AC_MSG_ERROR([header file <security/pam_appl.h> or <pam/pam_appl.h> is required for PAM.])])]) |
| fi | fi |
| if test "$with_libxml" = yes ; then | |
| AC_CHECK_HEADER(libxml/parser.h, [], [AC_MSG_ERROR([header file <libxml/parser.h> is required for XML support])]) | |
| fi | |
| if test "$with_ldap" = yes ; then | if test "$with_ldap" = yes ; then |
| if test "$PORTNAME" != "win32"; then | if test "$PORTNAME" != "win32"; then |
| AC_CHECK_HEADERS(ldap.h, [], | AC_CHECK_HEADERS(ldap.h, [], |