expat: add autoreconf support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-25 18:05:54 +01:00
parent 7a5c51e1f5
commit 35225b52ab
3 changed files with 26 additions and 1 deletions

View File

@ -3,8 +3,10 @@
. config/options $1
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target
do_autoreconf -I conftools
mkdir -p .build-target && cd .build-target
../configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \

View File

@ -12,3 +12,5 @@ PKG_SECTION="textproc"
PKG_SHORTDESC="expat: XML parser library"
PKG_LONGDESC="Expat is an XML parser library written in C. It is a stream-oriented parser in which an application registers handlers for things the parser might find in the XML document (like start tags). An introductory article on using Expat is available on xml.com."
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -0,0 +1,21 @@
diff -Naur expat-2.0.1-old/configure.in expat-2.0.1-new/configure.in
--- expat-2.0.1-old/configure.in 2007-05-09 06:26:48.000000000 -0700
+++ expat-2.0.1-new/configure.in 2010-08-17 13:12:17.000000000 -0700
@@ -31,6 +31,7 @@
AC_CONFIG_SRCDIR(Makefile.in)
AC_CONFIG_AUX_DIR(conftools)
+AC_CONFIG_MACRO_DIR([conftools])
dnl
@@ -50,9 +51,6 @@
AC_CONFIG_HEADER(expat_config.h)
-sinclude(conftools/libtool.m4)
-sinclude(conftools/ac_c_bigendian_cross.m4)
-
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL