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

Re: Expected output from libxml++-config (or any other lib*-config)?



On Tue, Aug 27, 2002 at 16:45:03 -0300, Jeronimo Pellegrini wrote:
>   It is showing me @XML_CFLAGS@ and @XML_LIBS@, because it depends on
>   libxml...
>   Isn't it supposed to give me the actual line to be used, without any
>   macros,

It is; this is caused by a bug in the libxml++ sources which should be
fixed:

diff -r -u libxml++-0.13.old/xml++-config.in libxml++-0.13/xml++-config.in
--- libxml++-0.13.old/xml++-config.in	2002-08-27 23:08:37.000000000 +0200
+++ libxml++-0.13/xml++-config.in	2002-08-27 23:07:41.000000000 +0200
@@ -53,11 +53,11 @@
         ;;
 
     --cflags)
-        echo -I@includedir@ @XML_CFLAGS@
+        echo -I@includedir@ @LIBXML_CFLAGS@
         ;;
 
     --libs)
-        echo -L@libdir@ -lxml++ @XML_LIBS@
+        echo -L@libdir@ -lxml++ @LIBXML_LIBS@
         ;;
 
     *)


HTH,
Ray
-- 
For those Unix & Linux fanatics who're feeling left out, please forward this
message to everyone you know and delete a bunch of your files at random.
	Julian Richardson's response to ILOVEYOU



Reply to: