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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:46:29 UTC 2017


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

The following commit has been merged in the master branch:
commit 0f18d973810d0131e893c0ffe24fea0bb0228188
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Jun 7 15:27:34 2016 +0000

    #1187 Fixing ./configure build breaker concerning libpthread
---
 config/configure.ac | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/config/configure.ac b/config/configure.ac
index 81fefe5..467c43c 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -273,15 +273,17 @@ if test "$USE_XMP_TOOLKIT" = "yes"; then
     EXPAT_CPPFLAGS=
     EXPAT_LDFLAGS=
     EXPAT_LIBS=
+    PTHREAD_LIBS=
     if test "$with_expat" != "no"; then
         AC_CHECK_HEADERS(expat.h,
-            AC_CHECK_LIB(expat, XML_ParserCreate,[
+            AC_CHECK_LIB(expat, XML_ParserCreate,[f
                 AC_DEFINE([HAVE_EXPAT], [], [Have Expat XML parser library])
                 EXPAT_LIBS="-lexpat"
                 if test "x${EXPAT_DIR}" != "x"; then
                     EXPAT_CPPFLAGS="-I${EXPAT_DIR}/include"
                     EXPAT_LDFLAGS="-L${EXPAT_DIR}/lib"
                 fi],[found_expat=no]),[found_expat=no])
+        PTHREAD="-lpthread"
     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)
@@ -291,6 +293,8 @@ if test "$USE_XMP_TOOLKIT" = "yes"; then
     AC_SUBST(EXPAT_CPPFLAGS)
     AC_SUBST(EXPAT_LDFLAGS)
     AC_SUBST(EXPAT_LIBS)
+    AC_CHECK_LIB(pthread, pthread_create, [PTHREAD_LIBS+=-lpthread])    
+    AC_SUBST(PTHREAD_LIBS)
 fi
 AC_SUBST(ENABLE_XMP)
 
@@ -315,7 +319,7 @@ case "$host_os" in
 *mingw* | *cygwin*)
     LDFLAGS="$LDFLAGS -no-undefined -lpsapi -lwldap32 -lws2_32" ;;
 *)
-    LDFLAGS="$LDFLAGS -ldl" ;;
+    LDFLAGS="$LDFLAGS -ldl -lpthread" ;;
 esac
 
 # 1099

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list