[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop
Subject:    autoconf/make
From:       Stefano Borini <munehiro () ferrara ! linux ! it>
Date:       2003-03-14 10:58:54
[Download RAW message or body]

hi all...
i read the interesting tutorial reported at

http://kdevelop.org/index.html?filename=tutorial_autoconf.html

and i like it. Many thanks to the author for providing a clear documentation.
However, i got a doubt: the tutorial uses xml2-config to get some parameters.
The --libs parameter provides both the -L and the -l switches.

$ xml2-config --libs
-L/home/stef/kde3.1/lib -lxml2 -lz -lm

as stated in the tutorial, the Makefile.am is modified by kdevelop only in a
section, and it leaves the rest untouched. For this reason, the author adds
LIBXML_LIBS to

myAppName_LDFLAGS = $(all_libraries) $(LIBXML_LIBS)

My question is: formally the -L switches should go here, and the -l switches
should go in _LDADD, which is in the kdevelop "no hack zone". Is this a
problem? how can i comply to the autostuff as reported in

http://developer.kde.org/documentation/other/makefile_am_howto.html

many thanks


-
to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body:
unsubscribe »your-email-address«
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic