[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:38:51 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=e99fda5

The following commit has been merged in the master branch:
commit e99fda5e0dcc5859ea5c2a71366cb373fdbec541
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Tue Oct 2 15:06:09 2007 +0000

    Fixed configure behaviour if expat installation is not valid.
---
 config/configure.ac | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/config/configure.ac b/config/configure.ac
index 2f4e940..8e1ddb5 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -161,9 +161,8 @@ AC_ARG_WITH(expat,
 ENABLE_XMP=
 if test "$USE_XMP_TOOLKIT" = "yes"; then
     # Check for expat library
-    if test "$with_expat" = "no"; then
-       AC_MSG_ERROR(either specify a valid expat installation with --with-expat=DIR or disable XMP support with --disable-xmp)
-    else
+    found_expat=yes
+    if test "$with_expat" != "no"; then
         AC_CHECK_HEADERS(expat.h,
             AC_CHECK_LIB(expat, XML_ParserCreate,[
                 AC_DEFINE([HAVE_EXPAT], [], [Have Expat XML parser library])
@@ -171,7 +170,10 @@ if test "$USE_XMP_TOOLKIT" = "yes"; then
                 if test "x${EXPAT_DIR}" != "x"; then
                     EXPAT_CPPFLAGS="-I${EXPAT_DIR}/include"
                     EXPAT_LDFLAGS="-L${EXPAT_DIR}/lib"
-                fi]))
+                fi],[found_expat=no]),[found_expat=no])
+    fi
+    if test "$with_expat" = "no" -o "$found_expat" = "no"; then
+        AC_MSG_ERROR(either specify a valid expat installation with --with-expat=DIR or disable XMP support with --disable-xmp)
     fi
     AC_DEFINE(HAVE_XMP_TOOLKIT,1)
     ENABLE_XMP=1

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list