autoconf
[Top][All Lists]
Advanced

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

Re: acinclude.m4 help?


From: Jason Gerfen
Subject: Re: acinclude.m4 help?
Date: Fri, 07 Oct 2005 09:35:37 -0600
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

That worked, thanks.  I had the LDFLAGS in the wrong place.

Keith MARSHALL wrote:

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
address@hidden
http://lists.gnu.org/mailman/listinfo/autoconf


--
Jason Gerfen

"My girlfriend threated to
leave me if I went boarding...
I will miss her."
~ DIATRIBE aka FBITKK





reply via email to

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