diff options
author | Werner Koch <wk@gnupg.org> | 2011-02-23 16:30:38 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2011-02-23 16:30:38 +0100 |
commit | e7f33df5e5b102f3c07a6dac1bfd1376f4f9267b (patch) | |
tree | ccc84bef5d4a479e652323a020846816dcb22424 /configure.ac | |
parent | b47b2f9c063d9a0bad7c33fb7ba158c23522b849 (diff) | |
download | libgcrypt-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.ac | 2 |
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],[[ |