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-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>
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