Discussion:
[SCM] GNU Autoconf source repository branch, master, updated. v2.69-119-g3f98a56
Eric Blake
2014-05-30 14:59:08 UTC
Permalink
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=3f98a56621eebfa4abe55affa9138cc4b1355901

The branch, master has been updated
via 3f98a56621eebfa4abe55affa9138cc4b1355901 (commit)
from 4edc6a771fb478f7da8d9e82f6b5f2dd6a85c4ff (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 3f98a56621eebfa4abe55affa9138cc4b1355901
Author: Eric Blake <***@redhat.com>
Date: Fri May 30 08:55:10 2014 -0600

AC_INIT: quote invalid feature names

Changes:
configure: error: invalid feature name: debug
to
configure: error: invalid feature name: `debug '
to make it obvious if trailing space is the reason why a feature
name was rejected; similar to existing error messages elsewhere
about invalid shell variable names.

* lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE2): Add quotes.
Reported by Noel Grandin.

Signed-off-by: Eric Blake <***@redhat.com>

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

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

diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index e2e9b6a..696a9a1 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -998,8 +998,8 @@ m4_define([_AC_INIT_PARSE_ENABLE2],
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 &&
- AC_MSG_ERROR(
- [invalid ]m4_if([$2], [with], [package], [feature])[ name: $ac_useropt])
+ 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'`
case $ac_user_opts in


hooks/post-receive
--
GNU Autoconf source repository
Loading...