Re: Bug#372179: AC_CANONICAL_SYSTEM overwrites $@

2006-06-19 Thread Tollef Fog Heen
* Ralf Wildenhues | Hello Justin, Tollef, | | * Justin Erenkrantz wrote on Sun, Jun 18, 2006 at 11:40:12PM CEST: | On 6/18/06, Tollef Fog Heen [EMAIL PROTECTED] wrote: | Currently, if configure is passed --sbindir=, it just overrides | $sbindir without flagging that at all. If it, in

Re: Bug#372179: AC_CANONICAL_SYSTEM overwrites $@

2006-06-19 Thread Justin Erenkrantz
On 6/19/06, Tollef Fog Heen [EMAIL PROTECTED] wrote: * Ralf Wildenhues | Hello Justin, Tollef, | | * Justin Erenkrantz wrote on Sun, Jun 18, 2006 at 11:40:12PM CEST: | On 6/18/06, Tollef Fog Heen [EMAIL PROTECTED] wrote: | Currently, if configure is passed --sbindir=, it just overrides |

Re: AC_CANONICAL_SYSTEM overwrites $@

2006-06-18 Thread Ralf Wildenhues
Hello Justin, Tollef, everyone, * Justin Erenkrantz wrote on Fri, Jun 16, 2006 at 09:12:11PM CEST: The point of our autoconf macro is to allow 'shortcuts', such that the argument --with-layout=Foo rewrites prefix/libexec/etc to a specific set of values (dictated by our file

Re: Bug#372179: AC_CANONICAL_SYSTEM overwrites $@

2006-06-18 Thread Ralf Wildenhues
Hello Justin, Tollef, * Justin Erenkrantz wrote on Sun, Jun 18, 2006 at 11:40:12PM CEST: On 6/18/06, Tollef Fog Heen [EMAIL PROTECTED] wrote: Currently, if configure is passed --sbindir=, it just overrides $sbindir without flagging that at all. If it, in addition to changing $sbindir, it'd

Re: AC_CANONICAL_SYSTEM overwrites $@

2006-06-17 Thread Justin Erenkrantz
On 6/15/06, Paul Eggert [EMAIL PROTECTED] wrote: Tollef Fog Heen [EMAIL PROTECTED] writes: Apart from the «ewww» factor, why can't it do its work in a subshell and echo back the parameters to be set and those get eval-ed by configure? Yes, something like that might work, given that you know

Re: AC_CANONICAL_SYSTEM overwrites $@

2006-06-15 Thread Ben Pfaff
Tollef Fog Heen [EMAIL PROTECTED] writes: I too suspect that the apr macros should be fixed to not rely on $@, but this was a sudden and unannounced change in the Debian packages without a significant bump in the version number. (Personally, I'd treat this as an API bump and increase version

Re: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)

2006-06-15 Thread Stepan Kasal
Hello, On Wed, Jun 14, 2006 at 04:41:56PM +0200, Ralf Wildenhues wrote: It may be possible to reorder macro invocations so the expansion of APR_PARSE_ARGUMENTS comes before any AC_CANONICAL_*? ... but this is only a temporary workaround, of course, because: [...] several macros in Autoconf

Re: Bug#372179: marked as done (autoconf: AC_CANONICAL_SYSTEM overwrites $@)

2006-06-15 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Thu, Jun 15, 2006 at 06:12:51PM CEST: [...] several macros in Autoconf overwrite the positional parameters, not just AC_CANONICAL_SYSTEM. For example, AC_CHECK_PROG does, so do some others. [...] I agree that we should document this limitation. I

Re: AC_CANONICAL_SYSTEM overwrites $@

2006-06-15 Thread Paul Eggert
Tollef Fog Heen [EMAIL PROTECTED] writes: Apart from the «ewww» factor, why can't it do its work in a subshell and echo back the parameters to be set and those get eval-ed by configure? Yes, something like that might work, given that you know the values can't contain ' (though you should

AC_CANONICAL_SYSTEM overwrites $@

2006-06-14 Thread Ben Pfaff
I've seen a flurry of Debian BTS emails around this bug, but none of them have made it clear to me what I should do about it. In the long term, I suspect that the Autoconf macros in the apr-util package should be fixed, and that autoconf-doc should document that $@ may be changed by some macros.

Re: AC_CANONICAL_SYSTEM overwrites $@

2006-06-14 Thread Ben Pfaff
Paul Eggert [EMAIL PROTECTED] writes: Here's the patch I installed. Thanks for installing that. I'll reassign the Debian bug to the documentation package. [...] However, let me point out a spelling error: +Autocoonf macros often use the @command{set} command to update ^ -- Ben