RE: GNATS needs some work (autoconf/59)

2001-01-31 Thread Tim Van Holder
> Personally, at least for the time being, we don't care about HOST: as > said by Pavel, only specific packages will need it, and they certainly > need it so badly that they already perform their tests. And if they > don't, the simple fact that Autoconf supports some HOST-path-sep test > will not

RE: GNATS needs some work (autoconf/59)

2001-01-31 Thread Tim Van Holder
> It seems to me that falling to `:' is way enough for this case. I agree - as long as those systems where ';' is needed are able to grok the test, that's fine. All other systems can happily use ':' as before (regardless of why they failed the test).

Re: Autoshell

2001-01-31 Thread Derek R. Price
Tim Van Holder wrote: > > I can send you the offending configure.in if you like. It's the one > > If you mean the AC_TRY_COMMAND() in the test for the BSD VPATH issue, > I tried using > ... No, that one's still working fine. I think this was related to my attempt to rewrite AM_CONFIG_HEADERS t

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Alexandre Oliva
On Jan 31, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: >> "Markus" == Markus F X J Oberhumer <[EMAIL PROTECTED]> writes: Markus> After a look through the sources it seems that AS_EXECUTABLE_P Markus> should use both "test -f" and "test -x" on systems that Markus> support it, and "test -f"

RE: Autoshell

2001-01-31 Thread Tim Van Holder
> I can send you the offending configure.in if you like. It's the one > that's checked into the CVS CVS (no, that wasn't a stutter. :). Of > course, I might want to pull my customizations out of my AM first and try > again to make sure that's not causing the problem first, but if someone > else

RE: GNATS needs some work (autoconf/59)

2001-01-31 Thread Tim Van Holder
> > DOES pretend to do)? DJGPP can pretend to be unixy when it comes to pathseps, > > but ONLY inside bash (granted, that's where it will matter most, but using ':' > > because bash can handle it would break if used inside perl/m4/whatever). > Since the test is run by bash and not by something els

RE: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Tim Van Holder
> After a look through the sources it seems that > AS_EXECUTABLE_P should use both "test -f" and > "test -x" on systems that support it, and "test -f" > otherwise (DOS, Win, ...) Yes and no. The reason we try to use 'test -x' is so that 'test -x foo' will pick up foo.exe. I had not thought of th

Re: [Akim Demaille ] Re: Shell crash on SunOS 4.1.3

2001-01-31 Thread Harlan Stenn
Sigh. ULTRIX V4.4 (Rev. 69) System #31: Thu Aug 10 19:42:23 GMT 1995 UWS V4.4 (Rev. 11) No mail. stenn@porkypine> sh $ foo=`cd / 2>/dev/null` illegal io $ echo ,$foo, ,, $ bar=`cd /foo 2>/dev/null` /foo: bad directory $ echo ,$bar, ,, $ baz=`exit nonsense 2>/dev/null` nonsense: bad number $ echo

Re: AC_LIBOBJ and libsources

2001-01-31 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> Can there be any non source files which we want to ship? Yes, sometimes. For instance with ansi2knr support we ship the man page. I don't know whether this impacts autoconf though. Tom

Re: Test suite is slow

2001-01-31 Thread Lars J. Aas
Akim Demaille <[EMAIL PROTECTED]> wrote: : Also, does anybody know a means to profile a shell script? How about profiling the shell running the script? :) Lars J -- Innovation is one percent inspiration and ninetynine percent perspiration, and in my case; twice that... -- Norville Barnes,

Re: Test suite is slow

2001-01-31 Thread Akim Demaille
> "adl" == Alexandre Duret-Lutz <[EMAIL PROTECTED]> writes: Akim> Does anybody knows a shell that would provide some means to Akim> denunciates time consumers? adl> You may want to look at the zsh/zprof module of Zsh. adl> Unfortunately this does profiling on shell functions, so that adl> mi

Re: Test suite is slow

2001-01-31 Thread Alexandre Duret-Lutz
>>> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> As noted by Jim, the test suite is really slow since a few days. If Akim> someone has an idea, I'm extremely interested. Akim> Also, does anybody know a means to profile a shell Akim> script? Process accounting? (http://gcc.gnu

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Akim Demaille
> "Markus" == Markus F X J Oberhumer <[EMAIL PROTECTED]> writes: Markus> After a look through the sources it seems that AS_EXECUTABLE_P Markus> should use both "test -f" and "test -x" on systems that Markus> support it, and "test -f" otherwise (DOS, Win, ...) Good call, I was going to text !

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Alexandre Oliva
On Jan 31, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > It seems to me that falling to `:' is way enough for this case. I hope so. -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer aoliva@{cygnus.com, redhat.com} CS PhD student

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Alexandre Oliva
On Jan 31, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: >> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >>> I'd suggest to fix the second issue :) Alexandre> Sure, it should be fixed. But you'll probably remember I Alexandre> have always opposed the idea of having a director

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> Hmm... It's just occurred to me that this kind of test may Alexandre> not work in general. AFAIK, some old Unices just won't run Alexandre> shell-scripts like that; you have to explicitly specify the Alexandre> shell th

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> I'd suggest to fix the second issue :) Alexandre> Sure, it should be fixed. But you'll probably remember I Alexandre> have always opposed the idea of having a directory named Alexandre> m4. OK :) I, myself, prefer ac/ :)

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Alexandre Oliva
On Jan 30, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > if (PATH=.;`pwd`; conftest.sh); then > # We like `;', let's use it. > else if (PATH=.:`pwd`; conftest.sh); then > # We like `:', let's use it. > else > # Get lost. > fi Hmm... It's just occurred to me that this kind of test may n

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Earnie Boyd
Akim Demaille wrote: > > > "Tim" == Tim Van Holder <[EMAIL PROTECTED]> writes: > > Tim> I suppose so. My main point was that there were 2 different > Tim> issues related to path separators (build & _HOST_), which the PR > Tim> didn't seem to take into account. > > Personally, at least for t

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Alexandre Oliva
On Jan 31, 2001, Akim Demaille <[EMAIL PROTECTED]> wrote: > ``How stupid configure is not > to check that this executable is not a directory!''. > I'd suggest to fix the second issue :) Sure, it should be fixed. But you'll probably remember I have always opposed the idea of having a directory

Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?

2001-01-31 Thread Akim Demaille
> "Derek" == Derek R Price <[EMAIL PROTECTED]> writes: Derek> Yeah, sorry. I'm trying to use AS_MKDIR_P in an unescaped Derek> heredoc context. The reason I don't seem to be able to avoid Derek> _that_ is that I want it to happen as part of a step before a Derek> header gets created so I'm

Re: [Akim Demaille ] Re: Shell crash on SunOS 4.1.3

2001-01-31 Thread Lars J. Aas
On Tue, Jan 30, 2001 at 09:09:53PM -0500, Harlan Stenn wrote: : Akim, : : stenn@pogo> sh : $ foo=`cd / 2>/dev/null` : $ echo ,$bar, : ,, In case noone else sees it, you assigned to $foo and output $bar, so the result is naturally empty. You should probably try again without mixing test 1 and 2

Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?

2001-01-31 Thread Derek R. Price
Akim Demaille wrote: > | "Derek R. Price" wrote: > | > Alexandre Oliva wrote: > | > > | > > On Jan 30, 2001, "Derek R. Price" <[EMAIL PROTECTED]> wrote: > | > > > | > > >> AS_ESCAPE(m4_quote(AS_MKDIR_P(["sdir"])), [\$`]) > | > > > | > > The simple rule is that every macro argument should be enclo

Re: [Akim Demaille ] Re: Shell crash on SunOS 4.1.3

2001-01-31 Thread Akim Demaille
| Akim, | stenn@pogo> sh | $ foo=`cd / 2>/dev/null` | $ echo ,$bar, | ,, | $ baz=`exit nonsense 2>/dev/null` | $ echo ,$baz, | ,, | $ Thanks, but you skipped the most important tests :) Could you try all of these? foo=`cd / 2>/dev/null` echo ,$foo, bar=`cd /foo 2>/dev/null` echo ,$bar, baz=`

Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?

2001-01-31 Thread Akim Demaille
| "Derek R. Price" wrote: | > Alexandre Oliva wrote: | > | > > On Jan 30, 2001, "Derek R. Price" <[EMAIL PROTECTED]> wrote: | > > | > > >> AS_ESCAPE(m4_quote(AS_MKDIR_P(["sdir"])), [\$`]) | > > | > > The simple rule is that every macro argument should be enclosed in | > > quotes. | > | > So the a

Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?

2001-01-31 Thread Derek R. Price
"Derek R. Price" wrote: > Alexandre Oliva wrote: > > > On Jan 30, 2001, "Derek R. Price" <[EMAIL PROTECTED]> wrote: > > > > >> AS_ESCAPE(m4_quote(AS_MKDIR_P(["sdir"])), [\$`]) > > > > The simple rule is that every macro argument should be enclosed in > > quotes. > > So the above _should_ work and

Re: AC_LIBOBJ and libsources

2001-01-31 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> 1. Does Automake need to know what are the files that can Akim> actually be in LIBOBJ, or headers can be included? Tom> Automake wants to know the associated headers as well. Ca

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: >> autoconf 2.49c (and the current CVS) fails if '.' is in PATH - it >> tries to execute the directory `./m4' when searching m4. Alexandre> Yet another reason to not name the directory with m4 Alexandre> goodies `m4' :-( Alexandre

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Akim Demaille
> "Mark" == Mark E <[EMAIL PROTECTED]> writes: >> I'd like to advise you that it would be fair not to support >> non-UNIX path separators on the build system. Mark> Naturally, I'll have to disagree. I don't see why Autoconf Mark> should care which path separator is used as long as Autoconf c

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Akim Demaille
> "Tim" == Tim Van Holder <[EMAIL PROTECTED]> writes: Tim> I suppose so. My main point was that there were 2 different Tim> issues related to path separators (build & _HOST_), which the PR Tim> didn't seem to take into account. Personally, at least for the time being, we don't care about HOS

Re: autoconf 2.49c fails if '.' is in PATH

2001-01-31 Thread Gary V. Vaughan
On Wed, Jan 31, 2001 at 02:20:29AM -0200, Alexandre Oliva wrote: > On Jan 30, 2001, "Markus F.X.J. Oberhumer" <[EMAIL PROTECTED]> >wrote: > > > autoconf 2.49c (and the current CVS) fails if '.' is in PATH - > > it tries to execute the directory `./m4' when searching m4. I think the real problem

Re: GNATS needs some work (autoconf/59)

2001-01-31 Thread Akim Demaille
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> Have you given a try to my suggestion of Akim> if (PATH=.;`pwd`; conftest.sh); then Arg, of course you didn't... From: Mail Delivery System Subject: Mail delivery failed: returning message to sender To: akim@= X-Sent: 5 days, 22

Re: Bug in AS_ESCAPE, AS_MKDIR_P, or my understanding of M4?

2001-01-31 Thread Derek R. Price
Alexandre Oliva wrote: > On Jan 30, 2001, "Derek R. Price" <[EMAIL PROTECTED]> wrote: > > >> AS_ESCAPE(m4_quote(AS_MKDIR_P(["sdir"])), [\$`]) > > The simple rule is that every macro argument should be enclosed in > quotes. So the above _should_ work and there's a bug in AS_ESCAPE? Derek -- Der