X-Git-Url: http://www.average.org/gitweb/?p=pam_pcsc_cr.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=0d0e047c00d03feda3e57b979b09ad6baaf50392;hp=1dfe83380c01e8e90c1ecae7d20138215222f759;hb=b8fe217710e343b51423c13c8babea267dc8479d;hpb=cc9b90217adb5f69875fb9196adf08473b618ad0 diff --git a/configure.ac b/configure.ac index 1dfe833..0d0e047 100644 --- a/configure.ac +++ b/configure.ac @@ -78,7 +78,11 @@ AC_ARG_ENABLE(gcrypt, AS_IF([test "x$use_openssl" != "xyes" && test "x$use_tomcrypt" != "xyes" || \ test "x$enable_gcrypt" = "xyes"], [ - AM_PATH_LIBGCRYPT() + m4_ifdef([AM_PATH_LIBGCRYPT], [ + AM_PATH_LIBGCRYPT() + ], [ + m4_exit(1) + ]) ]) AS_IF([test "x$LIBGCRYPT_CFLAGS" != "x" -o "x$LIBGCRYPT_LIBS" != "x" ], [ use_gcrypt=yes