diff options
author | Andres Freund <andres@anarazel.de> | 2022-08-18 10:41:42 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-08-18 10:41:42 -0700 |
commit | 4ab53b647abffb911bea35662ca4b22d788c25d4 (patch) | |
tree | 5d2b0fab55c23d756624a06dc2ddf8c7a2f4587a /configure | |
parent | 6566133c5f52771198aca07ed18f84519fac1be7 (diff) | |
download | postgresql-4ab53b647abffb911bea35662ca4b22d788c25d4.tar.gz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 16 |
1 files changed, 2 insertions, 14 deletions
@@ -14197,19 +14197,13 @@ fi if test "$with_ldap" = yes ; then if test "$PORTNAME" != "win32"; then - for ac_header in ldap.h -do : - ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default" + ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default" if test "x$ac_cv_header_ldap_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDAP_H 1 -_ACEOF else as_fn_error $? "header file <ldap.h> is required for LDAP" "$LINENO" 5 fi -done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible LDAP implementation" >&5 $as_echo_n "checking for compatible LDAP implementation... " >&6; } @@ -14253,22 +14247,16 @@ $as_echo "$as_me: WARNING: *** also uses LDAP will crash on exit." >&2;} fi else - for ac_header in winldap.h -do : - ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default + ac_fn_c_check_header_compile "$LINENO" "winldap.h" "ac_cv_header_winldap_h" "$ac_includes_default #include <windows.h> " if test "x$ac_cv_header_winldap_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_WINLDAP_H 1 -_ACEOF else as_fn_error $? "header file <winldap.h> is required for LDAP" "$LINENO" 5 fi -done fi fi |