autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-342


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-342-g7fa2f76
Date: Tue, 22 Jan 2008 20:41:39 +0000

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 "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=7fa2f766b836280ef3a9a338211bce55ac223565

The branch, master has been updated
       via  7fa2f766b836280ef3a9a338211bce55ac223565 (commit)
      from  4380a869785effba01e7d173f3373d17c7bc6270 (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 7fa2f766b836280ef3a9a338211bce55ac223565
Author: Ralf Wildenhues <address@hidden>
Date:   Tue Jan 22 21:40:50 2008 +0100

    Accept `+' in --enable and --with feature strings.
    
    * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
    in feature string for --enable/--with.  Convert to underscore
    for variable name.

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

Summary of changes:
 ChangeLog               |    4 ++++
 lib/autoconf/general.m4 |    6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5713903..ac0aec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-22  Ralf Wildenhues  <address@hidden>
 
+       * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Accept `+'
+       in feature string for --enable/--with.  Convert to underscore
+       for variable name.
+
        * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Require that
        `install -c file1 file2 dir' works.
        * doc/autoconf.texi (Particular Programs): Document this.
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 69b4371..bc41a81 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -1,7 +1,7 @@
 # This file is part of Autoconf.                       -*- Autoconf -*-
 # Parameterized macros.
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -969,11 +969,11 @@ m4_define([_AC_INIT_PARSE_ENABLE2],
 [-$1-* | --$1-*)
     ac_useropt=`expr "x$ac_option" : 'x-*$1-\(m4_if([$1], [$2], [[[^=]]], 
[.])*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_useropt" : "[.*[^-._$as_cr_alnum]]" >/dev/null &&
+    expr "x$ac_useropt" : "[.*[^-+._$as_cr_alnum]]" >/dev/null &&
       AC_MSG_ERROR(
        [invalid ]m4_if([$2], [with], [package], [feature])[ name: $ac_useropt])
     ac_useropt_orig=$ac_useropt
-    ac_useropt=`AS_ECHO(["$ac_useropt"]) | sed 's/[[-.]]/_/g'`
+    ac_useropt=`AS_ECHO(["$ac_useropt"]) | sed 's/[[-+.]]/_/g'`
     case $ac_user_opts in
       *"
 "$2_$ac_useropt"


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]