I need some more help...
I need to know the command for the configure.in shell script that will link against existing libraries once they have been found during the ./configure process.
Here is what I have thus far:
configure.in
Code:
AC_ARG_ENABLE(ldap,[
Optional LDAP Support: *NEW
--enable-ldap Enable ldap support for non-local users
(requires OpenLDAP libraries @ openldap.org
and configuration of the /etc/pam_krb5+ldap.conf file.)],
[enable_ldap="$enableval"], [enable_ldap="no"])
if test "$enable_ldap" = "yes"; then
AC_DEFINE(_LIBLDAP,1,[Define if you require OpenLDAP support.])
AC_CHECK_HEADER(ldap.h, :, AC_MSG_ERROR(ldap.h not found! Please install the OpenLDAP libraries from openldap.org.))
_LIBLDAP=yes
fi
AC_CONFIG_FILES(Makefile)
AC_OUTPUT