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

[xml] Uninstalled .pc file



Daniel,


While playing around and compiling things against the latest libxml
code, I found the attached file useful to have. It allows one to build
things against an uninstalled build of libxml just by setting
PKG_CONFIG_PATH to include the libxml source directory (this is a
documented feature of pkg-config).

If you would like to use this file (which should be called
libxml-2.0-uninstalled.pc.in), you just need to make sure the generated
version (libxml-2.0-uninstalled.pc) is added to the AC_OUTPUT macro in
configure.in as well.

Cheers,
Malcolm

prefix=
exec_prefix=
libdir=${pcfiledir}
includedir=${pcfiledir}/include


Name: libXML
Version: @VERSION@
Description: libXML library version2.
Requires:
Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@
Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@


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