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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:37:44 UTC 2017


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

The following commit has been merged in the master branch:
commit 9ee84c5133cd487bdda130e1147e0eef06e0ae7b
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Wed Jun 14 16:59:27 2006 +0000

    Fixed previous revision. Added check for libm.
---
 config/config.mk.in | 2 +-
 config/configure.ac | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/config/config.mk.in b/config/config.mk.in
index 6c8b50f..1476ca8 100644
--- a/config/config.mk.in
+++ b/config/config.mk.in
@@ -54,7 +54,7 @@ CXXCPP = @CXXCPP@
 CPPFLAGS = @CPPFLAGS@
 
 # Linker flags
-LDFLAGS = @LDFLAGS@ -lm
+LDFLAGS = @LDFLAGS@
 
 # Suffix of executables
 EXEEXT := @EXEEXT@
diff --git a/config/configure.ac b/config/configure.ac
index 22c8ac6..d8b11fd 100644
--- a/config/configure.ac
+++ b/config/configure.ac
@@ -21,8 +21,10 @@ AC_PROG_RANLIB
 AC_PROG_LIBTOOL
 
 # Checks for libraries.
-AC_CHECK_LIB(z, uncompress, [AC_CHECK_HEADERS([zlib.h], HAVE_ZLIB=1)])
-if test -z "$HAVE_ZLIB"; then
+AC_CHECK_LIB(m, exp, , AC_MSG_ERROR([libm not found.]))
+AC_CHECK_LIB(z, uncompress, , found_zlib=no)
+AC_CHECK_HEADERS([zlib.h], , found_zlib=no)
+if test "$found_zlib" = no; then
   AC_MSG_ERROR([I did not find a copy of the zlib library and the zlib.h 
 header file on your system. You can get it from http://www.gzip.org/zlib/])
 fi

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list