conftest$ac_exeext conftest.$ac_ext
done
if test "$found" = "no"; then
- LDAP_LIBS=" -ldap"
- echo "$as_me:$LINENO: result: not found, using -ldap" >&5
-echo "${ECHO_T}not found, using -ldap" >&6
+ LDAP_LIBS=" -lldap"
+ echo "$as_me:$LINENO: result: not found, using -lldap" >&5
+echo "${ECHO_T}not found, using -lldap" >&6
else
echo "$as_me:$LINENO: result: $LDAP_LIBS" >&5
echo "${ECHO_T}$LDAP_LIBS" >&6
#include <lber.h>
#include <ldap.h>]], [[(void)ldap_init(0, 0)]])], [found=yes; break])
done
- dnl if nothing linked just try with -ldap
+ dnl if nothing linked just try with -lldap
if test "$found" = "no"; then
- LDAP_LIBS=" -ldap"
- AC_MSG_RESULT([not found, using -ldap])
+ LDAP_LIBS=" -lldap"
+ AC_MSG_RESULT([not found, using -lldap])
else
AC_MSG_RESULT([$LDAP_LIBS])
fi