From: Kurt Zeilenga Date: Sat, 17 Jan 2009 02:08:09 +0000 (+0000) Subject: debug code X-Git-Tag: ACLCHECK_0~987 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e5b2c794005f560b5e1e7f01a7667ceef3dbc2e;p=openldap debug code --- diff --git a/configure b/configure index 29c1205a61..977d64864c 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.686 2009/01/17 00:20:21 kurt Exp . +# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.687 2009/01/17 00:50:22 kurt Exp . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -15419,8 +15419,10 @@ _ACEOF ac_cv_func_closesocket=yes ac_cv_func_gethostname=yes - if test $ol_cv_winsock != none -a $ol_cv_winsock != yes; then + if test $ol_cv_winsock != none -a $ol_cv_winsock != yes ; then LIBS="$LIBS -l$ol_cv_winsock" + { echo "$as_me:$LINENO: WARNING: \"set libs to $LIBS\"" >&5 +echo "$as_me: WARNING: \"set libs to $LIBS\"" >&2;}; fi if test $ol_cv_winsock = ws2_32 -o $ol_cv_winsock = yes ; then @@ -38962,7 +38964,7 @@ fi -if test "$ac_cv_mingw32" = yes ; then +if test "$ac_cv_mingw32" = yes -l $ol_cv_msvc = yes ; then PLAT=NT SLAPD_MODULES_LDFLAGS= else diff --git a/configure.in b/configure.in index d0cea1b722..241e8270a5 100644 --- a/configure.in +++ b/configure.in @@ -909,8 +909,9 @@ if test $ol_cv_winsock != no ; then ac_cv_func_closesocket=yes ac_cv_func_gethostname=yes - if test $ol_cv_winsock != none -a $ol_cv_winsock != yes; then + if test $ol_cv_winsock != none -a $ol_cv_winsock != yes ; then LIBS="$LIBS -l$ol_cv_winsock" + AC_MSG_WARN("set libs to $LIBS"); fi if test $ol_cv_winsock = ws2_32 -o $ol_cv_winsock = yes ; then @@ -3052,7 +3053,7 @@ dnl For Windows build, we don't want to include -dlopen flags. dnl They hurt more than they help. dnl -if test "$ac_cv_mingw32" = yes ; then +if test "$ac_cv_mingw32" = yes -l $ol_cv_msvc = yes ; then PLAT=NT SLAPD_MODULES_LDFLAGS= else