Commit 41b0365d authored by hpi1's avatar hpi1 Committed by Ano Nymous
Browse files

Added configure option for libgcrypt prefix

parent 1989edb8
????-??-??:
- Added configure option for libgcrypt prefix
- Fixed building Win32 DLL
- Fixed segfault when mount point path can't be resolved
- Do not export internal symbols from generated parser/lexer
......
......@@ -119,6 +119,17 @@ if test "${SYS}" != "mingw32" ; then
fi
# gcrypt check
AC_ARG_WITH(libgcrypt-prefix,
AC_HELP_STRING([--with-libgcrypt-prefix=PFX],
[prefix where libgcrypt is installed (optional)]),
libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
if test x$libgcrypt_config_prefix != x ; then
if test x${LIBGCRYPT_CONFIG+set} != xset ; then
LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
fi
fi
AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no)
if test x"$LIBGCRYPT_CONFIG" = xno; then
AC_MSG_ERROR([libgcrypt not found on system])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment