[prev in list] [next in list] [prev in thread] [next in thread] 

List:       autoconf-bug
Subject:    Re: autoconf 2.64 fails when IFS is changed
From:       Ralf Wildenhues <Ralf.Wildenhues () gmx ! de>
Date:       2009-07-28 18:39:46
Message-ID: 20090728183945.GE3279 () gmx ! de
[Download RAW message or body]

Hello Arkadiusz,

* Arkadiusz Miskiewicz wrote on Tue, Jul 28, 2009 at 12:47:23PM CEST:
> autoconf 2.64 fails when IFS is changed while 2.63 works fine
> 
> [arekm@carme-pld ~/test/1]$ cat configure.ac

> AC_PREREQ([2.64])
> AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS])
> 
> old_IFS=$IFS
> IFS=","
> AC_DEFINE([VC_ENABLE_API_COMPAT],   [1])
> IFS="$old_IFS"
> 
> AC_OUTPUT
> 
> [arekm@carme-pld ~/test/1]$ aclocal; autoconf
> 
> [arekm@carme-pld ~/test/1]$ ./configure
> ./configure[1640]: print -r --: not found
> configure: creating ./config.status
> 
> [arekm@carme-pld ~/test/1]$ autoconf --version
> autoconf (GNU Autoconf) 2.64

Thanks for the report.  This will probably mean that we will document
that you should not change, or that you need to restore, IFS when
invoking Autoconf macros.  In general, we really cannot guarantee which
macros will expand to IFS-sensitive code and which won't, so you may
have to assume they all will.

Cheers,
Ralf



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic