From: Akim Demaille Date: Fri, 3 Nov 2000 09:22:14 +0000 (+0000) Subject: * acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and X-Git-Tag: autoconf-2.50~474 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe8a5d0c226edf8752f8375c01557f91aaeb7d4;p=thirdparty%2Fautoconf.git * acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and `-'. Reported by Andreas Jaeger. --- diff --git a/ChangeLog b/ChangeLog index 30049ad03..7116fdd05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-11-03 Akim Demaille + + * acgeneral.m4 (_AC_INIT_PARSE_ARGS): TRIPLET can include `_' and + `-'. + Reported by Andreas Jaeger. + 2000-11-03 Akim Demaille * m4sh.m4 (_AS_UNSET_PREPARE): New macro, eved from diff --git a/THANKS b/THANKS index 60f3b4289..4cac3c136 100644 --- a/THANKS +++ b/THANKS @@ -8,6 +8,7 @@ Akim Demaille akim@epita.fr Alain Knaff Alain.Knaff@imag.fr Alec Wolman wolman@cs.washington.edu Alexandre Oliva oliva@lsd.ic.unicamp.br +Andreas Jaeger aj@suse.de Andreas Schott schott@rzg.mpg.de Andreas Schwab schwab@issan.informatik.uni-dortmund.de Andrej Borsenkow borsenkow.msk@sni.de diff --git a/acgeneral.m4 b/acgeneral.m4 index aa0600ea2..613908734 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1160,7 +1160,7 @@ Try `configure --help' for more information.]) *) # FIXME: should be removed in autoconf 3.0. AC_MSG_WARN([you should use --build, --host, --target]) - expr "x$ac_option" : "[.*[^.$ac_cr_alnum]]" >/dev/null && + expr "x$ac_option" : "[.*[^-._$ac_cr_alnum]]" >/dev/null && AC_MSG_WARN([invalid host type: $ac_option]) : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index aa0600ea2..613908734 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1160,7 +1160,7 @@ Try `configure --help' for more information.]) *) # FIXME: should be removed in autoconf 3.0. AC_MSG_WARN([you should use --build, --host, --target]) - expr "x$ac_option" : "[.*[^.$ac_cr_alnum]]" >/dev/null && + expr "x$ac_option" : "[.*[^-._$ac_cr_alnum]]" >/dev/null && AC_MSG_WARN([invalid host type: $ac_option]) : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;;