autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoheader problem


From: Alexandre Oliva
Subject: Re: autoheader problem
Date: 27 Mar 2001 19:00:26 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Mar 27, 2001, Akim Demaille <address@hidden> wrote:

>         * autoheader.sh (config_h): Be robust to new lines when extracting
>         the first argument of AC_CONFIG_HEADERS.
>         Reported by Lars J. Aas.

Looks good to me, thanks!  Except that you may want to quote the $2,
just in case.  I can't think of a situation in which it would make a
difference, but it's mainly a matter of style :-)

> -config_h=`echo "$config_h" | sed -e 's/ .*//'`
> +config_h=`set X $config_h; echo $2`

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

[Prev in Thread] Current Thread [Next in Thread]