libmetalink: added recipe for version 0.1.2

This commit is contained in:
Jerome Duval
2014-06-13 16:01:04 +00:00
parent c409b1272a
commit 8d414241d1
2 changed files with 108 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From d04fd063299d5bb51ad4f1a84aa00beab5ed1170 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Fri, 13 Jun 2014 14:18:29 +0000
Subject: haiku patch
diff --git a/configure.ac b/configure.ac
index 1d2e686..1643fe5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,7 +78,7 @@ AC_SUBST([NUMBER_VERSION], `printf "0x%02x%02x%02x" $MAJOR_VERSION $MINOR_VERSIO
# Checks for libraries.
if test "x$with_libexpat" = "xyes"; then
- AM_PATH_LIBEXPAT
+ PKG_CHECK_MODULES([EXPAT],[expat],[have_libexpat=yes])
fi
if test "x$with_libxml2" = "xyes" && test "x$have_libexpat" != "xyes"; then
@@ -185,7 +185,7 @@ AC_MSG_NOTICE([summary of build options:
CPPFLAGS: ${CPPFLAGS}
C preprocessor: ${CPP}
Library types: Shared=${enable_shared}, Static=${enable_static}
- Libexpat: ${have_libexpat} ${EXPAT_CFLAGS} ${EXPAT_LIBS}
+ Libexpat: ${have_expat} ${EXPAT_CFLAGS} ${EXPAT_LIBS}
Libxml2: ${have_libxml2} ${XML_CPPFLAGS} ${XML_LIBS}
CUnit: ${have_cunit} ${CUNIT_CFLAGS} ${CUNIT_LIBS}
])
--
1.8.3.4