commit 19d12c4ef73ae4fcd9095cb9ad544a4186d971c0
parent 7af3ea32d51c5ffaca7c69e33f04e5dbdec136fb
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Mon, 6 Nov 2017 18:16:50 +0300
configure: added workaround for inaccurate detection of libgcrypt
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -69,6 +69,9 @@ MHD_SYS_EXT
LT_INIT([win32-dll])
LT_LANG([Windows Resource])
+# Workaround for libgcrypt
+AS_IF([[test "x$lt_sysroot" != "x" && test "x$SYSROOT" = "x"]], [[SYSROOT="$lt_sysroot"]])
+
PACKAGE_VERSION_MAJOR='m4_car(m4_unquote(m4_split(AC_PACKAGE_VERSION, [\.])))'
PACKAGE_VERSION_MINOR='m4_argn(2, m4_unquote(m4_split(AC_PACKAGE_VERSION, [\.])))'
PACKAGE_VERSION_SUBMINOR='m4_argn(3, m4_unquote(m4_split(AC_PACKAGE_VERSION, [\.])))'