mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-05 11:10:57 +08:00
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
traditional shells like the Solaris one that do not use the first IFS character for assembling `$*'. Prompted by a related report from autoconf_bug@nro.ca.
This commit is contained in:
parent
fe4647b2d0
commit
99ff5f6603
@ -1,3 +1,10 @@
|
||||
2006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for
|
||||
traditional shells like the Solaris one that do not use the
|
||||
first IFS character for assembling `$*'.
|
||||
Prompted by a related report from autoconf_bug@nro.ca.
|
||||
|
||||
2006-05-01 Paul Eggert <eggert@cs.ucla.edu>
|
||||
and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
|
@ -1677,9 +1677,12 @@ shift
|
||||
AC_SUBST([$1_cpu], [$[1]])dnl
|
||||
AC_SUBST([$1_vendor], [$[2]])dnl
|
||||
shift; shift
|
||||
[# Remember, the first character of IFS is used to create $]*:
|
||||
AC_SUBST([$1_os], [$[*]])dnl
|
||||
[# Remember, the first character of IFS is used to create $]*,
|
||||
# except with old shells:
|
||||
$1_os=$[*]
|
||||
IFS=$ac_save_IFS
|
||||
case $$1_os in *\ *) $1_os=`echo "$$1_os" | sed 's/ /-/g'`;; esac
|
||||
AC_SUBST([$1_os])dnl
|
||||
])# _AC_CANONICAL_SPLIT
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user