Jason Gerfen wrote:
> Yeah, I actually went through and added the appropriate syntax to
> each of the macro's which has gotte rid of warnings when running
> 'aclocal'.  When I run 'make' after running
>   './configure --enable-ldap'
> I do not see anything specifying the '-lldap' linking.

Does your Makefile.in have a LIBS = @LIB@ substitution?
Does that include the '-lldap' entry you expected, if you inspect
the result of that substitution in the generated Makefile?
Do you need an `LDFLAGS="$LDFLAGS -L /path/to/ldap/libs"' entry,
so the linker can find the library?  If so, did you add it?
Does the Makefile rule to link the application include the
$(LDFLAGS) and the $(LIBS) in the correct order, in the
appropriate command line?

Since you are using automake, (and I don't myself), I guess the
answers to most of the above should be `yes', (except perhaps for
the `-L' entry in LDFLAGS, which isn't automatically generated for
you), but these are the sort of questions you need to consider, to
debug this type of problem.

Regards,
Keith.


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to