Re: Using GNU Make

2009-04-04 Thread Reuben Thomas
On Fri, 3 Apr 2009, Mike Frysinger wrote: On Friday 03 April 2009 20:01:15 Reuben Thomas wrote: Is there a standard way to make an autotoolised build system require GNU Make? I'm getting a bit fed up having to express everything in POSIX make when most systems now seem to have GNU Make, even wh

Re: Using GNU Make

2009-04-04 Thread Reuben Thomas
On Sat, 4 Apr 2009, Ralf Wildenhues wrote: You could test '$MAKE --help' at configure time, but the problem is, few users remember to use './configure MAKE=gmake && gmake', most just do './configure && gmake'. You would teach them! :-) Ah, so there's no test that does this already? I would i

Re: Using GNU Make

2009-04-04 Thread Ralf Wildenhues
* Reuben Thomas wrote on Sat, Apr 04, 2009 at 01:44:48PM CEST: > I would imagine an AC_MAKE_GNU (or somesuch) that looks at make's help > output, then tries gmake (and gnumake?) if make is not GNU Make. > > Oh, and I've just found "check_gnu_make.m4" in autoconf-archive. Ah, I didn't know this m

Re: Using GNU Make

2009-04-04 Thread Reuben Thomas
On Sat, 4 Apr 2009, Ralf Wildenhues wrote: * Reuben Thomas wrote on Sat, Apr 04, 2009 at 01:44:48PM CEST: I would imagine an AC_MAKE_GNU (or somesuch) that looks at make's help output, then tries gmake (and gnumake?) if make is not GNU Make. Oh, and I've just found "check_gnu_make.m4" in autoc

Re: Using GNU Make

2009-04-04 Thread Mike Frysinger
On Saturday 04 April 2009 12:35:08 Reuben Thomas wrote: > On Sat, 4 Apr 2009, Ralf Wildenhues wrote: > > * Reuben Thomas wrote on Sat, Apr 04, 2009 at 01:44:48PM CEST: > >> I would imagine an AC_MAKE_GNU (or somesuch) that looks at make's help > >> output, then tries gmake (and gnumake?) if make is

Re: Using GNU Make

2009-04-04 Thread Reuben Thomas
On Sat, 4 Apr 2009, Mike Frysinger wrote: maybe use GNUmakefile.am rather than Makefile.am ? and then keep a dummy Makefile around that merely says "hey sucka, GNU-make only!" and/or just re- run the specified command as gmake ... Thanks. I've actually for one reason and another managed to av

Re: Using GNU Make

2009-04-04 Thread Mike Frysinger
On Saturday 04 April 2009 14:55:01 Reuben Thomas wrote: > On Sat, 4 Apr 2009, Mike Frysinger wrote: > > maybe use GNUmakefile.am rather than Makefile.am ? and then keep a dummy > > Makefile around that merely says "hey sucka, GNU-make only!" and/or just > > re- run the specified command as gmake .

Re: Using GNU Make

2009-04-04 Thread Reuben Thomas
On Sat, 4 Apr 2009, Mike Frysinger wrote: what would be cool is if automake processed some GNU makeisms in the .am -> .in step. personally, i use some things like $(wildcard) and $(patsubst) because i hate having to hand maintain a huge list of files -- i inevitably add more and forget to updat