Bug#666797: Building for apache 2.4
Arno Töll <[email protected]> Sat, 21 Apr 2012 11:35:40 +0200
| Newsgroups | gmane.linux.debian.devel.bugs.general,gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig025E3943BB77FC19DA429C3E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 21.04.2012 09:27, Thomas Goirand wrote: > Do you know how I can test if the module is building under 2.4? That'd > be cool to be able to do a conditional build, depending on the version,= See ap_mmn.h. It defines a module magic number which can be used to determine the API/ABI version you are compiling against. 2.4's MMN is 20120211-3 (although, a correct solution would be to use the first version which introduced this change. That would be 20111130-0). You can test that with #if AP_MODULE_MAGIC_AT_LEAST(19980812,2) use new pointer #else use old pointer #endif > Also, I'd be > happy to patch the source package now, so that only a rebuild will be > needed when you upload 2.4 to SID. I do not think that's easily possible. That's a lot of effort as you would need to maintain a different set of maintainer scripts and binary dependencies. Note, we asked the release team already for permission to upload to Unstable. --=20 with kind regards, Arno T=C3=B6ll IRC: daemonkeeper on Freenode/OFTC GnuPG Key-ID: 0x9D80F36D --------------enig025E3943BB77FC19DA429C3E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPkn9vAAoJEMcrUe6dgPNts/IQALqa2Yv2aqWSqcJcmny7r9Q2 mLQHgHmQx4EHTL7ew/m0auLHx9wrjzmOrSrcyoO7OHcFf4oY9pUW8HkWY/s7wzzU kBg6HNB/aM5UqqVWr/XLnntCrB55mM+qjjROw71lIw5U4ZdlUt9vx9xr+r8Fs5Ct ZbFtjMTbtWg3GcfTcwSXherMJhInFpQL+himYx18w7k2hgSHhEMqOPzw3L/8bdw/ CSTk3MZut4XCIb6vf+gOjVrfThnHRgSlyCsVodznJmDhw4PGf1qR2sPQmGaKatgj va+ditxrIZyRFOZkpTS7TVovGFgMQu1lqUmARwIO003vNs3enZaLnvX91cxt2YdH rUmhmD9nbBvcI0+c4SnXi6YA3dAFmZ1UBIH3uAYspXlBZFIX7/igabEt6+cwEE+U kiK7JQKsToFunjbaGaBqsWJwX22kqtDN8f6adrnK1GvtF5nUW+bN1KK4uvQiwe0C 63vSNy+IIEqTuATDKcNXDoGzJOUZwsUhP8XPpEkHIJUyvZ8YkFMnO8Cq+yUpm+qS w2wu5K2kgbKoeA3nfgdQ8QU5weqXyKdGhsu7HOiWHRK1J5Oi+5VxV0BBgZuh9KCV 4Sigrvhg/rRQUa6u/r4+mPJN+BgByUse/n1y7YLxP8wbzUpPuvRRuvnEVl3uBJEf PfpBwJEWyQwdsAbOsill =AhM4 -----END PGP SIGNATURE----- --------------enig025E3943BB77FC19DA429C3E--