aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-04-06 18:10:45 +0000
committerWerner Koch <[email protected]>2011-04-06 18:10:45 +0000
commitcdefec02b385dcf3302e47d380812c3450e8713c (patch)
tree1cec16358abecbea533e05f27324174d59a6c39f /configure.ac
parentUpdate gpg-error.m4 (diff)
downloadgpgme-cdefec02b385dcf3302e47d380812c3450e8713c.tar.gz
gpgme-cdefec02b385dcf3302e47d380812c3450e8713c.zip
gpgme-config cleanups and --host option
gpgme-config.in: Add option --host. Change options --cflags and --libs to collapse duplicate include and lib dirs. Try to put extra libs at the end. Note that gpgme.m4 has not yet been extended.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b0f6e488..3aed5f7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -901,9 +901,11 @@ AH_BOTTOM([
# Substitution used for gpgme-config
GPGME_CONFIG_LIBS="-lgpgme"
GPGME_CONFIG_CFLAGS=""
+GPGME_CONFIG_HOST="$host"
AC_SUBST(GPGME_CONFIG_API_VERSION)
AC_SUBST(GPGME_CONFIG_LIBS)
AC_SUBST(GPGME_CONFIG_CFLAGS)
+AC_SUBST(GPGME_CONFIG_HOST)
# Frob'da Variables
LTLIBOBJS=`echo "$LIB@&t@OBJS" |