[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: acinclude.m4 help?

From: Keith MARSHALL
Subject: Re: acinclude.m4 help?
Date: Fri, 7 Oct 2005 15:18:50 +0100

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 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]