diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0ba2ff442..7e6e1ebda 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1876,7 +1876,10 @@ AC_ARG_ENABLE([pkcs11], | |||
1876 | if test "x$openssl" = "xyes" && test "x$disable_pkcs11" = "x"; then | 1876 | if test "x$openssl" = "xyes" && test "x$disable_pkcs11" = "x"; then |
1877 | # PKCS#11 support requires dlopen() and co | 1877 | # PKCS#11 support requires dlopen() and co |
1878 | AC_SEARCH_LIBS([dlopen], [dl], | 1878 | AC_SEARCH_LIBS([dlopen], [dl], |
1879 | [AC_DEFINE([ENABLE_PKCS11], [], [Enable for PKCS#11 support])] | 1879 | AC_CHECK_DECL([RTLD_NOW], |
1880 | AC_DEFINE([ENABLE_PKCS11], [], [Enable for PKCS#11 support]), | ||
1881 | [], [#include <dlfcn.h>] | ||
1882 | ) | ||
1880 | ) | 1883 | ) |
1881 | fi | 1884 | fi |
1882 | 1885 | ||