Re: [Libreoffice] config.parms vs autogen.lastrun

2011-09-06 Thread Peter Foley
On Tue, 6 Sep 2011, Norbert Thiebaud wrote:

> On Tue, Sep 6, 2011 at 4:39 PM, Peter Foley  wrote:
> >
> > Hi,
> >
> > Both autogen.lastrun and config.parms seem to have the same purpose, to
> > store the ./configure command line.
> 
> Not quite. autogen.last run save the command line given to
> autgogen.sh. that is _before_ substitution of things like
> -with-config= for instance.
> 
> furthermore the content of config.parms has changed over time... at
> one point not that long ago it was not containing anything remotely
> close to autogen.lastrun
> for instance on my Mac, which has autoconf 2.61
> 
> $ >cat config.parms
> /usr/local/share/config.site /usr/local/etc/config.site
> 
> 
> > We should only need one, but I'm not
> > sure which one would be better to get rid of. Suggestions?
> 
> you cannot get rid of config.parms, since that would require patching autoconf

config.parms is created by this snippet in configure.in:

echo "$@" > config.parms

So it wouldn't actualy require patching autoconf to remove.

Thanks,

Peter
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] config.parms vs autogen.lastrun

2011-09-06 Thread Norbert Thiebaud
On Tue, Sep 6, 2011 at 7:20 PM, Peter Foley  wrote:
> On Tue, 6 Sep 2011, Norbert Thiebaud wrote:
>
>> On Tue, Sep 6, 2011 at 4:39 PM, Peter Foley  wrote:
>> >
>> > Hi,
>> >
>> > Both autogen.lastrun and config.parms seem to have the same purpose, to
>> > store the ./configure command line.
>>
>> Not quite. autogen.last run save the command line given to
>> autgogen.sh. that is _before_ substitution of things like
>> -with-config= for instance.
>>
>> furthermore the content of config.parms has changed over time... at
>> one point not that long ago it was not containing anything remotely
>> close to autogen.lastrun
>> for instance on my Mac, which has autoconf 2.61
>>
>> $ >cat config.parms
>> /usr/local/share/config.site /usr/local/etc/config.site
>>
>>
>> > We should only need one, but I'm not
>> > sure which one would be better to get rid of. Suggestions?
>>
>> you cannot get rid of config.parms, since that would require patching 
>> autoconf
>
> config.parms is created by this snippet in configure.in:
>
> echo "$@" > config.parms
>
> So it wouldn't actualy require patching autoconf to remove.

ok then, sure that line does not serve a purpose that I can see.

I'm puzzled by the output I see on MacOS though ? how does echo "$@"
end up as /usr/local/share/config.site /usr/local/etc/config.site ?
oh well

bottom line. autogen.lastrun is the one to keep :-)

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] config.parms vs autogen.lastrun

2011-09-06 Thread Norbert Thiebaud
On Tue, Sep 6, 2011 at 4:39 PM, Peter Foley  wrote:
>
> Hi,
>
> Both autogen.lastrun and config.parms seem to have the same purpose, to
> store the ./configure command line.

Not quite. autogen.last run save the command line given to
autgogen.sh. that is _before_ substitution of things like
-with-config= for instance.

furthermore the content of config.parms has changed over time... at
one point not that long ago it was not containing anything remotely
close to autogen.lastrun
for instance on my Mac, which has autoconf 2.61

$ >cat config.parms
/usr/local/share/config.site /usr/local/etc/config.site


> We should only need one, but I'm not
> sure which one would be better to get rid of. Suggestions?

you cannot get rid of config.parms, since that would require patching autoconf
you cannot get rid of autogen.lastrun, because it contain what we
really need in all cases...

Norbert
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] config.parms vs autogen.lastrun

2011-09-06 Thread Peter Foley

Hi,

Both autogen.lastrun and config.parms seem to have the same purpose, to 
store the ./configure command line. We should only need one, but I'm not 
sure which one would be better to get rid of. Suggestions?

Thanks,

Peter
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice