httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: cvs commit: httpd-2.0/build/rpm httpd.init httpd.logrotate httpd.spec.in
Date Sun, 30 Mar 2003 19:19:10 GMT
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

Mime
View raw message