From: Francis Dupont Date: Sat, 14 Nov 2015 18:35:40 +0000 (+0100) Subject: [4201] Second attempt with a better fix X-Git-Tag: trac4204fd_base~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca58144d482833f349161fff3fea9fd08c4636a;p=thirdparty%2Fkea.git [4201] Second attempt with a better fix --- diff --git a/configure.ac b/configure.ac index 74299f467d..1c77df79a4 100755 --- a/configure.ac +++ b/configure.ac @@ -591,6 +591,7 @@ AC_ARG_WITH([botan-config], AC_HELP_STRING([--with-botan-config=PATH], [specify the path to the botan-config script]), [botan_config="$withval"]) +distcheck_botan="--with-botan-config=$botan_config" if test "${botan_config}" = "no" ; then if test "${use_openssl}" = "no" ; then AC_MSG_ERROR([Need Botan or OpenSSL for libcryptolink]) @@ -764,7 +765,7 @@ then DISABLED_CRYPTO="OpenSSL" CRYPTO_PACKAGE="botan-1.8" CRYPTO_CFLAGS="" - DISTCHECK_CRYPTO_CONFIGURE_FLAG="--with-botan-config=$botan_config" + DISTCHECK_CRYPTO_CONFIGURE_FLAG="$distcheck_botan" AC_DEFINE_UNQUOTED([WITH_BOTAN], [], [Compile with Botan crypto]) else CRYPTO_NAME="OpenSSL"