Re: Bugfix and improvement for autogen.sh

2012-03-09 Thread Norbert Thiebaud
On Fri, Mar 9, 2012 at 4:57 AM, Josh Heidenreich wrote: > Hey, > >>        I wonder if instead it would be better to special case '--help' in >> autogen.sh so that if it is detected we don't write it to >> autogen.lastrun. > > That is what the code does if I replace >     system ("./help.sh " . $A

Re: Bugfix and improvement for autogen.sh

2012-03-09 Thread Josh Heidenreich
Hey, >        I wonder if instead it would be better to special case '--help' in > autogen.sh so that if it is detected we don't write it to > autogen.lastrun. That is what the code does if I replace system ("./help.sh " . $ARGV[$pos+1]); in the above code with system ("configure --help

Re: Bugfix and improvement for autogen.sh

2012-03-09 Thread Michael Meeks
Hi Josh, On Fri, 2012-03-09 at 15:25 +1030, Josh Heidenreich wrote: > I was doing some compiling yesterday, and noticed that "autogen.sh > --help" clobbers your autogen.lastrun. Ah - indeed, there should be an autogen.lastrun.bak these days - but, yes that's annoying :-) > My original th

Bugfix and improvement for autogen.sh

2012-03-08 Thread Josh Heidenreich
Hey, I was doing some compiling yesterday, and noticed that "autogen.sh --help" clobbers your autogen.lastrun. My original thought was to change the code to fix the bug, but then I had an idea - make "--help" more useful. Thus, my idea is to add this to autogen.sh: my $pos = 0; for my $arg (@AR