httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Sutton <p...@ukweb.com>
Subject Re: Trying to grok .module files
Date Fri, 24 Oct 1997 08:52:11 GMT
On Wed, 22 Oct 1997, Rasmus Lerdorf wrote:
> Ok, since  there is only 1 example of a .module configuation file, I
> figured I would try to grok that.  Grabbing a completely fresh CVS tree as

Yes! I was hoping module authors can use the .module files.

> Index: TestCompile

> --- 102,111 ----
>   LDFLAGS=\$(LDFLAGS1) \$(EXTRA_LDFLAGS)
>   
>   dummy:
> !       cd ..;\$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS) helpers/dummy.c
> -o helpers/dummy $TLIB \$(LIBS)
>   
>   testfunc:
> !       cd ..;\$(CC) \$(CFLAGS) \$(INCLUDES) \$(LDFLAGS)
> helpers/testfunc.c -o helpers/testfunc \$(LIBS)
>   EOF
>   
>   # Now run that Makefile

Someone once said that not all makefiles keep the working directory across
commands in a single target, so current Makefiles all use ( cd whatever; 
$(MAKE) ... ). Perhaps these should be surrounded by (...) as well? 

Other than that, +1.

> Ok, I am not done yet.  For my own particular needs, I need to be able to
> override the setting of WANTHSREGEX.  Due to the order of things in the
> Configure script, this is not currently possible to do in a .module file.
> The fix is simple.  Put the WANTHSREGEX rule check after the .module files
> have been read to give the .module files a chance to alter the setting.
> I propose the following patch for this:

+1.

//pcs



Mime
View raw message