]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_INIT: quote invalid feature names
authorEric Blake <eblake@redhat.com>
Fri, 30 May 2014 14:55:10 +0000 (08:55 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 30 May 2014 14:58:17 +0000 (08:58 -0600)
commit3f98a56621eebfa4abe55affa9138cc4b1355901
tree600d0aa72faf4f52fed97736a06e589af3799786
parent4edc6a771fb478f7da8d9e82f6b5f2dd6a85c4ff
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 <eblake@redhat.com>
lib/autoconf/general.m4