[xmltooling] 01/17: New patch Fail-configuration-if-dlopen-is-not-found.patch

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 18:17:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi-guest pushed a commit to branch debian/experimental
in repository xmltooling.

commit 90f5d3ce7eff81e0b766cf571f50ec7876c90b05
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Tue Jul 5 12:06:41 2016 +0200

    New patch Fail-configuration-if-dlopen-is-not-found.patch
    
    Fail configuration if dlopen() is not found
---
 .../Fail-configuration-if-dlopen-is-not-found.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/Fail-configuration-if-dlopen-is-not-found.patch b/debian/patches/Fail-configuration-if-dlopen-is-not-found.patch
new file mode 100644
index 0000000..0ee27f8
--- /dev/null
+++ b/debian/patches/Fail-configuration-if-dlopen-is-not-found.patch
@@ -0,0 +1,21 @@
+From: =?utf-8?q?Ferenc_W=C3=A1gner?= <wferi at niif.hu>
+Date: Mon, 4 Jul 2016 18:44:08 +0200
+Subject: Fail configuration if dlopen() is not found
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 227b3b9..1263cdb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,7 +70,7 @@ AC_TYPE_SIZE_T
+ # Checks for library functions.
+ AC_CHECK_FUNCS([strchr strdup strstr timegm gmtime_r strcasecmp])
+ AC_CHECK_HEADERS([dlfcn.h])
+-AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
++AC_SEARCH_LIBS([dlopen],[dl],,[AC_MSG_ERROR([cannot find dlopen() function])])
+ 
+ # checks for pthreads
+ ACX_PTHREAD([enable_threads="pthread"],[enable_threads="no"])
diff --git a/debian/patches/series b/debian/patches/series
index b735d92..06d7807 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 Disable-forcing-of-libtool-silent.patch
 Use-pkg-config-for-log4shib-log4cpp.patch
+Fail-configuration-if-dlopen-is-not-found.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xmltooling.git



More information about the Pkg-shibboleth-devel mailing list