[git] GPG-ERROR - branch, master, updated. libgpg-error-1.10-21-g2a9687f

by Werner Koch cvs at cvs.gnupg.org
Wed Apr 6 15:12:28 CEST 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".

The branch, master has been updated
       via  2a9687fced289571f19c95e0c759ac9eac41940c (commit)
      from  bde039281416791eafd64bc3a7d40252e278c25a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a9687fced289571f19c95e0c759ac9eac41940c
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Apr 6 14:41:14 2011 +0200

    Extra test for gpg-error-config script
    
    If the path to gpg-error-config was explicitly given by the user it
    may happen that it does not exists but AC_CHECK_TOOL may assume it
    still exists because it is somewhere in the PATH.  The extra check
    avoids extra sh warnings.
    
    Note that we can't use test -x because that is not defined on some old
    systems.

diff --git a/ChangeLog b/ChangeLog
index 3745c67..9334c75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-06  Werner Koch  <wk at g10code.com>
+
+	* src/gpg-error.m4: Test whether gpg-error-config exists.
+
 2011-02-23  Werner Koch  <wk at g10code.com>
 
 	* autogen.sh: Check git setup.
diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
index 2e5a0ab..ef07fd7 100644
--- a/src/gpg-error.m4
+++ b/src/gpg-error.m4
@@ -29,7 +29,8 @@ AC_DEFUN([AM_PATH_GPG_ERROR],
   min_gpg_error_version=ifelse([$1], ,0.0,$1)
   AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
   ok=no
-  if test "$GPG_ERROR_CONFIG" != "no" ; then
+  if test "$GPG_ERROR_CONFIG" != "no" \
+     && test -f "$GPG_ERROR_CONFIG" ; then
     req_major=`echo $min_gpg_error_version | \
                sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
     req_minor=`echo $min_gpg_error_version | \

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    4 ++++
 src/gpg-error.m4 |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Error codes used by GnuPG et al.
http://git.gnupg.org




More information about the Gnupg-commits mailing list