[git] GPG-ERROR - branch, master, updated. libgpg-error-1.10-51-g056cc2d

by Werner Koch cvs at cvs.gnupg.org
Fri Feb 22 15:19:41 CET 2013


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  056cc2d0dfef023fda47ce377d3ee544612526a3 (commit)
      from  3977201d2a82fcbe0341660e07a3b0d5c790f927 (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 056cc2d0dfef023fda47ce377d3ee544612526a3
Author: Werner Koch <wk at gnupg.org>
Date:   Fri Feb 22 15:07:36 2013 +0100

    Fix the alias mechanism for --with-libgpg-error-prefix.
    
    * src/gpg-error.m4: Do not use the no-action branch in AC_ARG_WITH.
    --
    
    This fixes commit aaa3f534.  The bug was that --with-gpg-error-prefix
    always reset the value from --with-libgpg-error-prefix.

diff --git a/src/gpg-error.m4 b/src/gpg-error.m4
index f0b9f1f..feb963c 100644
--- a/src/gpg-error.m4
+++ b/src/gpg-error.m4
@@ -15,19 +15,20 @@ dnl Test for libgpg-error and define GPG_ERROR_CFLAGS and GPG_ERROR_LIBS
 dnl
 AC_DEFUN([AM_PATH_GPG_ERROR],
 [ AC_REQUIRE([AC_CANONICAL_HOST])
+  gpg_error_config_prefix=""
   dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
   dnl since that is consistent with how our three siblings use the directory/
   dnl package name in --with-$dir_name-prefix=PFX.
   AC_ARG_WITH(libgpg-error-prefix,
-            AC_HELP_STRING([--with-libgpg-error-prefix=PFX],
-                           [prefix where GPG Error is installed (optional)]),
-     gpg_error_config_prefix="$withval", gpg_error_config_prefix="")
+              AC_HELP_STRING([--with-libgpg-error-prefix=PFX],
+                             [prefix where GPG Error is installed (optional)]),
+              [gpg_error_config_prefix="$withval"])
 
   dnl Accept --with-gpg-error-prefix and make it work the same as
   dnl --with-libgpg-error-prefix above, for backwards compatibility,
   dnl but do not document this old, inconsistently-named option.
   AC_ARG_WITH(gpg-error-prefix,,
-     gpg_error_config_prefix="$withval", gpg_error_config_prefix="")
+              [gpg_error_config_prefix="$withval"])
 
   if test x$gpg_error_config_prefix != x ; then
      if test x${GPG_ERROR_CONFIG+set} != xset ; then

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

Summary of changes:
 src/gpg-error.m4 |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list