[xmltooling] 03/19: Fail configuration if dlopen() is not found

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


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

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

commit 83bf406b972846771af2caba50eab0eced2a8320
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Mon Jul 4 18:44:08 2016 +0200

    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"])

-- 
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