autoconf/make

Stefano Borini munehiro at ferrara.linux.it
Fri Mar 14 10:58:54 GMT 2003


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 at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list