diff options
author | Martin Willi <martin@strongswan.org> | 2009-08-31 13:14:54 +0200 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-08-31 13:14:54 +0200 |
commit | 1d39663f7a0bfd7399ea0db24e4190bdbf196c46 (patch) | |
tree | 59f619f0dfa61601ed869bf20cc2887919cc7f87 /configure.in | |
parent | 8706a151ff5a2402e41c21133084cd6bdf0a6b7e (diff) | |
download | strongswan-1d39663f7a0bfd7399ea0db24e4190bdbf196c46.tar.bz2 strongswan-1d39663f7a0bfd7399ea0db24e4190bdbf196c46.tar.xz |
do not depend on gcrypt autoconf macros
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index c29454bd8..cc378169a 100644 --- a/configure.in +++ b/configure.in @@ -1111,7 +1111,8 @@ if test x$openssl = xtrue; then fi if test x$gcrypt = xtrue; then - AM_PATH_LIBGCRYPT(,,[AC_MSG_ERROR([libgcrypt not found!])]) + AC_HAVE_LIBRARY([gcrypt],[LIBS="$LIBS"],[AC_MSG_ERROR([gcrypt library not found])]) + AC_CHECK_HEADER([gcrypt.h],,[AC_MSG_ERROR([gcrypt header gcrypt.h not found!])]) AC_MSG_CHECKING([gcrypt CAMELLIA cipher]) AC_TRY_COMPILE( [#include <gcrypt.h>], |