From: Akim Demaille Date: Wed, 17 Jul 2002 08:17:28 +0000 (+0000) Subject: * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in X-Git-Tag: AUTOCONF-2.53b~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04df9dca08fbb16acac67b59adaaf272da86a140;p=thirdparty%2Fautoconf.git * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in tarnames. * doc/autoconf.texi (Initializing configure): Adjust. --- diff --git a/ChangeLog b/ChangeLog index c6bb9a942..4094bb428 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-07-17 Akim Demaille + + * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in + tarnames. + * doc/autoconf.texi (Initializing configure): Adjust. + 2002-07-17 Akim Demaille * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC) diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 70acf26e5..c0d6d97b9 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1497,7 +1497,7 @@ the email to which users should send bug reports. The package package name (e.g., @samp{GNU Autoconf}), while the former is meant for distribution tar ball names (e.g., @samp{autoconf}). It defaults to @var{package} once @samp{GNU } strip, lower cased, and all non -alphanumeric character mapped onto @samp{-}. +alphanumeric and underscore characters mapped onto @samp{-}. It is preferable that these arguments be static, i.e., there should not be any shell computation, but they can be computed by M4. The following diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 075e93697..cb669d43a 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -296,7 +296,7 @@ m4_ifndef([AC_PACKAGE_TARNAME], m4_default([$4], [m4_bpatsubst(m4_tolower(m4_bpatsubst([[[$1]]], [GNU ])), - [[^abcdefghijklmnopqrstuvwxyz0123456789]], + [[^_abcdefghijklmnopqrstuvwxyz0123456789]], [-])]))]) m4_ifndef([AC_PACKAGE_VERSION], [m4_define([AC_PACKAGE_VERSION], [$2])])