summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-02-23 16:30:38 +0100
committerWerner Koch <wk@gnupg.org>2011-02-23 16:30:38 +0100
commite7f33df5e5b102f3c07a6dac1bfd1376f4f9267b (patch)
treeccc84bef5d4a479e652323a020846816dcb22424 /configure.ac
parentb47b2f9c063d9a0bad7c33fb7ba158c23522b849 (diff)
downloadlibgcrypt-e7f33df5e5b102f3c07a6dac1bfd1376f4f9267b.tar.gz
Add option host to libgcrypt-config.
Also update libgcrypt.m4 for better user experience when cross-building.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 013ff3af..618a5eee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -154,6 +154,7 @@ LT_LANG([Windows Resource])
# Used by libgcrypt-config
LIBGCRYPT_CONFIG_LIBS="-lgcrypt"
LIBGCRYPT_CONFIG_CFLAGS=""
+LIBGCRYPT_CONFIG_HOST="$host"
# Definitions for symmetric ciphers.
available_ciphers="arcfour blowfish cast5 des aes twofish serpent rfc2268 seed"
@@ -963,6 +964,7 @@ CL_AS_NOEXECSTACK
AC_SUBST(LIBGCRYPT_CONFIG_API_VERSION)
AC_SUBST(LIBGCRYPT_CONFIG_LIBS)
AC_SUBST(LIBGCRYPT_CONFIG_CFLAGS)
+AC_SUBST(LIBGCRYPT_CONFIG_HOST)
AC_SUBST(LIBGCRYPT_THREAD_MODULES)
AC_CONFIG_COMMANDS([gcrypt-conf],[[