From: Akim Demaille Date: Wed, 30 Jan 2002 16:13:10 +0000 (+0000) Subject: * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non X-Git-Tag: AUTOCONF-2.52h~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b16548fe4f397affcdab472af2af9785fb60bd;p=thirdparty%2Fautoconf.git * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non alphanumeric to `-' instead of `_'. --- diff --git a/ChangeLog b/ChangeLog index 57472ff13..9c12cc146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-01-30 Akim Demaille + + * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non + alphanumeric to `-' instead of `_'. + 2002-01-30 Akim Demaille * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one diff --git a/doc/autoconf.texi b/doc/autoconf.texi index ec25afcaf..efa5a36b7 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -1504,7 +1504,7 @@ Exactly @var{package}. @ovindex PACKAGE_TARNAME @cvindex PACKAGE_TARNAME @var{package} once @samp{GNU } strip, lower cased, and all non -alphanumeric character mapped onto @samp{_}. +alphanumeric character mapped onto @samp{-}. @item @code{AC_PACKAGE_VERSION}, @code{PACKAGE_VERSION} @acindex PACKAGE_VERSION @@ -4620,7 +4620,7 @@ implemented. In case of doubt, read the documentation of the former @ovindex EXEEXT All the tests for compilers (@code{AC_PROG_CC}, @code{AC_PROG_CXX}, @code{AC_PROG_F77}) define the output variable @code{EXEEXT} based on -the output of the compiler, typically to the empty string if Unix and +the output of the 1compiler, typically to the empty string if Unix and @samp{.exe} if Win32 or OS/2. @ovindex OBJEXT diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 2dc0a7053..c121a95dd 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -295,7 +295,7 @@ m4_ifndef([AC_PACKAGE_TARNAME], [m4_define([AC_PACKAGE_TARNAME], m4_bpatsubst(m4_tolower(m4_bpatsubst([[[$1]]], [GNU ])), [[^abcdefghijklmnopqrstuvwxyz0123456789]], - [_]))]) + [-]))]) m4_ifndef([AC_PACKAGE_VERSION], [m4_define([AC_PACKAGE_VERSION], [$2])]) m4_ifndef([AC_PACKAGE_STRING],