From: Scott Cantor Date: Mon, 17 Apr 2006 01:49:21 +0000 (+0000) Subject: Clean up defines, and add dlfunc check. X-Git-Tag: 1.0-alpha1~266 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-xmltooling.git;a=commitdiff_plain;h=40436d2ccd22967d91695c6066f2505a55252377 Clean up defines, and add dlfunc check. --- diff --git a/config_win32.h b/config_win32.h index 89d112b..6dea2f2 100644 --- a/config_win32.h +++ b/config_win32.h @@ -15,18 +15,9 @@ #define HAVE_INTTYPES_H 1 */ -/* Define to 1 if you have the `crypto' library (-lcrypto). */ -#define HAVE_LIBCRYPTO 1 - -/* Define to 1 if you have the `curl' library (-lcurl). */ -#define HAVE_LIBCURL 1 - /* Define if log4cpp library was found */ #define HAVE_LIBLOG4CPP 1 -/* Define to 1 if you have the `ssl' library (-lssl). */ -#define HAVE_LIBSSL 1 - /* Define if Xerces-C library was found */ #define HAVE_LIBXERCESC 1 @@ -36,10 +27,6 @@ /* define if the compiler implements namespaces */ #define HAVE_NAMESPACES 1 -/* Define if you have POSIX threads libraries and header files. -#define HAVE_PTHREAD 1 -*/ - /* Define to 1 if you have the header file. */ /* #undef HAVE_STDINT_H */ @@ -52,9 +39,6 @@ /* Define to 1 if you have the `strdup' function. */ #define HAVE_STRDUP 1 -/* Define to 1 if you have the `strftime' function. */ -/* #undef HAVE_STRFTIME */ - /* Define to 1 if you have the header file. #define HAVE_STRINGS_H 1 */ @@ -106,6 +90,9 @@ /* Version number of package */ #define VERSION "1.0" +/* Define if you wish to disable XML-Security-dependent features. */ +/* #undef XMLTOOLING_NO_XMLSEC */ + /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/configure.ac b/configure.ac index edf8fbf..6113c64 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,7 @@ AC_TYPE_SIZE_T # Checks for library functions. AC_CHECK_FUNCS([strchr strdup strstr]) AC_CHECK_HEADERS([dlfcn.h]) +AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ]) AC_LANG(C++)