mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Don't add HAVE_LDAP_H HAVE_WINLDAP_H to pg_config.h
They're not referenced, so we don't need them in in pg_config.h. Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> Discussion: http://postgr.es/m/e0c44fb2-8b66-a4b9-b274-7ed3a1a0ab74@enterprisedb.com
This commit is contained in:
12
configure.ac
12
configure.ac
@ -1547,15 +1547,15 @@ fi
|
||||
|
||||
if test "$with_ldap" = yes ; then
|
||||
if test "$PORTNAME" != "win32"; then
|
||||
AC_CHECK_HEADERS(ldap.h, [],
|
||||
[AC_MSG_ERROR([header file <ldap.h> is required for LDAP])])
|
||||
AC_CHECK_HEADER(ldap.h, [],
|
||||
[AC_MSG_ERROR([header file <ldap.h> is required for LDAP])])
|
||||
PGAC_LDAP_SAFE
|
||||
else
|
||||
AC_CHECK_HEADERS(winldap.h, [],
|
||||
[AC_MSG_ERROR([header file <winldap.h> is required for LDAP])],
|
||||
[AC_INCLUDES_DEFAULT
|
||||
AC_CHECK_HEADER(winldap.h, [],
|
||||
[AC_MSG_ERROR([header file <winldap.h> is required for LDAP])],
|
||||
[AC_INCLUDES_DEFAULT
|
||||
#include <windows.h>
|
||||
])
|
||||
])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user