From 7390f7f709ec44af7f1fce985340279dda6e5ee2 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 20 Jun 2005 18:10:33 +0000 Subject: [PATCH] 2005-06-20 Marcus Brinkmann * gpgme.m4: Only call GPGME_CONFIG if found. --- trunk/gpgme/ChangeLog | 4 ++++ trunk/gpgme/gpgme.m4 | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index e028514..a7ffbab 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,7 @@ +2005-06-20 Marcus Brinkmann + + * gpgme.m4: Only call GPGME_CONFIG if found. + 2005-06-03 Marcus Brinkmann * gpgme.h (struct _gpgme_signature): New members pubkey_algo and diff --git a/trunk/gpgme/gpgme.m4 b/trunk/gpgme/gpgme.m4 index 1915f55..10ee13f 100644 --- a/trunk/gpgme/gpgme.m4 +++ b/trunk/gpgme/gpgme.m4 @@ -20,7 +20,9 @@ AC_DEFUN([_AM_PATH_GPGME_CONFIG], fi AC_PATH_PROG(GPGME_CONFIG, gpgme-config, no) - gpgme_version=`$GPGME_CONFIG --version` + if test "$GPGME_CONFIG" != "no" ; then + gpgme_version=`$GPGME_CONFIG --version` + fi gpgme_version_major=`echo $gpgme_version | \ sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` gpgme_version_minor=`echo $gpgme_version | \ -- 2.26.2