2005-06-20 Marcus Brinkmann <marcus@g10code.de>

* gpgme.m4: Only call GPGME_CONFIG if found.
This commit is contained in:
Marcus Brinkmann 2005-06-20 18:11:42 +00:00
parent 63ac903f64
commit ad4588f8fc
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-06-20 Marcus Brinkmann <marcus@g10code.de>
* gpgme.m4: Only call GPGME_CONFIG if found.
2005-06-03 Marcus Brinkmann <marcus@g10code.de>
* wait-global.c (gpgme_wait): Break out of the fd processing loop

View File

@ -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 | \