diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.in | 16 | ||||
-rw-r--r-- | libexslt.pc.in | 12 | ||||
-rw-r--r-- | libxslt.spec.in | 1 |
5 files changed, 31 insertions, 5 deletions
@@ -1,3 +1,8 @@ +Fri Nov 14 18:44:50 CET 2003 Daniel Veillard <daniel@veillard.com> + + * Makefile.am configure.in libexslt.pc.in libxslt.spec.in: adding + libexslt.pc support + Thu Nov 13 11:54:36 CET 2003 Daniel Veillard <daniel@veillard.com> * libxslt/attributes.c libxslt/documents.c libxslt/transform.c diff --git a/Makefile.am b/Makefile.am index 3df4ff28..6c2dc388 100644 --- a/Makefile.am +++ b/Makefile.am @@ -58,7 +58,7 @@ rpm: cleantar pkgconfigdir=$(libdir)/pkgconfig -pkgconfig_DATA = libxslt.pc +pkgconfig_DATA = libxslt.pc libexslt.pc m4datadir = $(datadir)/aclocal m4data_DATA = libxslt.m4 diff --git a/configure.in b/configure.in index 2521ab63..fcb6552a 100644 --- a/configure.in +++ b/configure.in @@ -400,16 +400,23 @@ AC_SUBST(PYTHON_INCLUDES) AC_SUBST(PYTHON_SITE_PACKAGES) XSLT_LIBDIR='-L${libdir}' - XSLT_INCLUDEDIR='-I${includedir}' XSLT_LIBS="-lxslt $LIBXML_LIBS $M_LIBS" -EXTRA_LIBS="$LIBXML_LIBS $M_LIBS" - AC_SUBST(XSLT_LIBDIR) AC_SUBST(XSLT_INCLUDEDIR) +AC_SUBST(XSLT_LIBS) + +EXSLT_LIBDIR='-L${libdir}' +EXSLT_INCLUDEDIR='-I${includedir}' +EXSLT_LIBS="-lexslt $XSLT_LIBS" +AC_SUBST(EXSLT_LIBDIR) +AC_SUBST(EXSLT_INCLUDEDIR) +AC_SUBST(EXSLT_LIBS) + +EXTRA_LIBS="$LIBXML_LIBS $M_LIBS" AC_SUBST(EXTRA_LIBS) + AC_SUBST(M_LIBS) -AC_SUBST(XSLT_LIBS) dnl for the spec file RELDATE=`date +'%a %b %e %Y'` @@ -424,6 +431,7 @@ $LN_S Copyright COPYING AC_OUTPUT([ Makefile libxslt.pc +libexslt.pc libxslt/Makefile libxslt/xsltconfig.h libxslt/xsltwin32config.h diff --git a/libexslt.pc.in b/libexslt.pc.in new file mode 100644 index 00000000..16676ff6 --- /dev/null +++ b/libexslt.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + + +Name: libexslt +Version: @LIBEXSLT_VERSION@ +Description: EXSLT Extension library +Requires: libxml-2.0 +Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@ +Cflags: @EXSLT_INCLUDEDIR@ diff --git a/libxslt.spec.in b/libxslt.spec.in index c16ed111..960b5116 100644 --- a/libxslt.spec.in +++ b/libxslt.spec.in @@ -95,6 +95,7 @@ rm -fr %{buildroot} %{prefix}/include/* %{prefix}/bin/xslt-config %{_libdir}/pkgconfig/libxslt.pc +%{_libdir}/pkgconfig/libexslt.pc %files python %defattr(-, root, root) |