You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@manyfish.co.uk> on 2003/03/30 21:19:10 UTC

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

On Sun, Mar 30, 2003 at 06:57:35PM -0000, Graham Leggett wrote:
...
>   --- buildconf	12 Mar 2003 01:30:05 -0000	1.32
>   +++ buildconf	30 Mar 2003 18:57:34 -0000	1.33
>   @@ -181,4 +181,19 @@
>    rm -f config.cache
>    ${AUTOCONF:-autoconf} 2>&1 | grep -v "$cross_compile_warning"
>    
>   +echo rebuilding rpm spec file
>   +( VMMN=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include \`pwd\`/include/ap_mmn.h | grep -e '^[0-9]'`
>   +  REVISION=`echo AP_SERVER_MAJORVERSION.AP_SERVER_MINORVERSION.AP_SERVER_PATCHLEVEL | cpp -include \`pwd\`/include/ap_release.h | tr -d "\" " | grep -e '^[0-9.\-]'`

I wouldn't put this stuff in buildconf (at least on the stable branch),
"cpp -include" probably isn't portable.

joe

Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in

Posted by Graham Leggett <mi...@sharp.fm>.
Joe Orton wrote:

>>  +( VMMN=`echo MODULE_MAGIC_NUMBER_MAJOR | cpp -include \`pwd\`/include/ap_mmn.h | grep -e '^[0-9]'`
>>  +  REVISION=`echo AP_SERVER_MAJORVERSION.AP_SERVER_MINORVERSION.AP_SERVER_PATCHLEVEL | cpp -include \`pwd\`/include/ap_release.h | tr -d "\" " | grep -e '^[0-9.\-]'`
> 
> 
> I wouldn't put this stuff in buildconf (at least on the stable branch),
> "cpp -include" probably isn't portable.

Hmmm - I am not very good with the portability stuff - can anyone 
suggest a portable way to do this?

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."