- configure.in libxslt.spec.in: changes needed for libxml2-devel

changes
Daniel
This commit is contained in:
Daniel Veillard 2001-01-28 07:42:17 +00:00
parent f68ebaac6d
commit 31de2205b1
3 changed files with 15 additions and 10 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 28 08:41:10 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* configure.in libxslt.spec.in: changes needed for libxml2-devel
changes
Sat Jan 27 11:00:20 CET 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
* libxslt.spec.in doc/xslt.html: updating doc and trying to add

View File

@ -1,6 +1,6 @@
AC_INIT(libxslt/xslt.c)
VERSION=0.0.1
VERSION=0.0.2
PACKAGE=libxslt
AM_CONFIG_HEADER(config.h)
@ -94,15 +94,15 @@ AC_SUBST(LDFLAGS)
dnl
dnl find libxml
dnl
XML_CONFIG="xml-config"
AC_MSG_CHECKING(for libxml libraries >= 2.2.12)
XML_CONFIG="xml2-config"
AC_MSG_CHECKING(for libxml libraries >= 2.2.13)
if test "x$LIBXML_PREFIX" != "x"
then
if ${LIBXML_PREFIX}/bin/xml-config --libs print > /dev/null 2>&1
if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1
then
XML_CONFIG=${LIBXML_PREFIX}/bin/xml-config
XML_CONFIG=${LIBXML_PREFIX}/bin/xml2-config
else
XML_CONFIG=xml-config
XML_CONFIG=xml2-config
fi
fi
@ -118,10 +118,10 @@ then
LIBXML_CFLAGS="`$XML_CONFIG --cflags`"
AC_MSG_RESULT(found)
else
AC_MSG_ERROR(You need at least libxml 2.2.12 for this version of libxml)
AC_MSG_ERROR(You need at least libxml 2.2.13 for this version of libxml)
fi
else
AC_MSG_ERROR(Could not find libxml anywhere.)
AC_MSG_ERROR(Could not find libxml2 anywhere.)
fi

View File

@ -10,7 +10,7 @@ Copyright: LGPL
Group: Development/Libraries
Source: ftp://xmlsoft.org/XSLT/libxslt-%{ver}.tar.gz
BuildRoot: /var/tmp/libxslt-%{PACKAGE_VERSION}-root
Requires: libxml2 >= 2.2.12
Requires: libxml2 >= 2.2.13
URL: http://xmlsoft.org/
Docdir: %{prefix}/doc
@ -25,7 +25,7 @@ installed.
Summary: Libraries, includes, etc. to develop XML and HTML applications
Group: Development/Libraries
Requires: libxslt = %{version}
Requires: libxml2-devel >= 2.2.12
Requires: libxml2-devel >= 2.2.13
%description devel
This C library allows to transform XML files into other XML files