Eric Blake <ebl...@redhat.com> writes: > On 11/20/2011 08:29 AM, Andreas Schwab wrote: >> Should autoconf be more robust against IFS clobbering? >> >> $ printf '%s\n' AC_INIT "IFS=' '" AC_OUTPUT > configure.ac >> $ autoconf >> $ ./configure >> ./configure: line 1669: BASHOPTS: command not found >> [...] > > No. That's a bug in configure.ac for changing IFS in a non-portable > manner.
What about this: $ printf "%s\n" AC_INIT 'x=$IFS; IFS=" "; sleep 5; IFS=$x' AC_OUTPUT > configure.ac $ autoconf $ ./configure configure: creating ./config.status $ timeout -s 2 3 ./configure ./configure: line 14: BASHOPTS: command not found [...] Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."