diff options
author | Mike Hommey <glandium@debian.org> | 2006-07-01 10:36:56 +0200 |
---|---|---|
committer | Mike Hommey <glandium@debian.org> | 2006-07-01 10:36:56 +0200 |
commit | e5e1e61d641cc0527857ee959cff9bbfd7b8adec (patch) | |
tree | 0a53b9bdae23df2f903757027919ff97c5051fb7 /xml2-config.in | |
parent | ef381f99921ea9fe00a07836b93f2a2bf865ca17 (diff) | |
download | libxml2-e5e1e61d641cc0527857ee959cff9bbfd7b8adec.tar.gz |
* debian/python-libxml2.examples.in: Renamed to
debian/python-libxml2.examples
* debian/python-libxml2.install.in: Renamed to
debian/python-libxml2.install, and replaced PYVERS by a wildcard.
* debian/control:
+ Adapted dependencies to fit all changes.
+ Added fields required by new Python policy.
+ Added fields necessary for flawless transition.
+ Replaced dummy python-libxml2 package by a full real package which
itself replaces python2.x-libxml2 packages.
* debian/rules:
+ Changed rules to get the python versions we want to build for and
adapted some rules to fit with the new setting.
+ Changed shell loops to make loops.
+ In case python binary modules are identical (and they are, but they
may not be with future versions of the python headers), replace some
of them with symbolic links.
+ Adapted rules to the fact we're installing in only one python package
instead of several.
* debian/pycompat: Set to 2, for new Python policy. Closes: #373456.
* debian/libxml2-doc.install: Added the /usr/share/gtk-doc directory.
Closes: #375113.
* debian/control: Made libxml2-doc suggest devhelper.
* libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in: Split Libs in Libs and
Libs.private.
* xml2-config.in, xml2-config.1: Added a --static option to add to --libs
so that we can split what is needed when building statically and what is
needed when building dynamically. Closes: #374017.
* libxml-2.0.pc.in, libxml-2.0-uninstalled.pc.in, xml2-config.in: Added
BASE_THREADS_LIBS to the static link information so that -lpthread would
appear. Closes: #372945.
* debian/rules: Add the NEWS file to dh_install calls. Closes: #365596.
* debian/watch: Updated.
Diffstat (limited to 'xml2-config.in')
-rw-r--r-- | xml2-config.in | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/xml2-config.in b/xml2-config.in index 30e1343..e7fdec1 100644 --- a/xml2-config.in +++ b/xml2-config.in @@ -15,6 +15,7 @@ Known values for OPTION are: --prefix=DIR change libxml prefix [default $prefix] --exec-prefix=DIR change libxml exec prefix [default $exec_prefix] --libs print library linking information + add --static to print static library linking information --cflags print pre-processor and compiler flags --modules module support enabled --help display this help and exit @@ -86,13 +87,19 @@ while test $# -gt 0; do then if [ "@XML_LIBDIR@" = "-L/usr/lib64" ] then - echo @XML_LIBS@ + LIBS="@XML_LIBS@" else - echo @XML_LIBDIR@ @XML_LIBS@ + LIBS="@XML_LIBDIR@ @XML_LIBS@" fi else - echo @XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@ + LIBS="@XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@" fi + if [ "$2" = "--static" ] + then + shift + LIBS="${LIBS} @Z_LIBS@ @BASE_THREAD_LIBS@ @THREAD_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@" + fi + echo ${LIBS} ;; *) |