]> git.pld-linux.org Git - packages/php.git/blame - php-stupidapache_version.patch
- fixed some typos in hardening patch, now it builds
[packages/php.git] / php-stupidapache_version.patch
CommitLineData
c8b3f7e0
ER
1--- acinclude.m4~ 2005-03-17 10:10:04.000000000 +0200
2+++ acinclude.m4 2005-03-17 09:57:25.000000000 +0200
3@@ -1851,8 +1851,14 @@
4 dnl This macro is used to get a comparable
5 dnl version for apache1/2.
6 dnl
7+
8 AC_DEFUN([PHP_AP_EXTRACT_VERSION],[
9+if test -n "$with_apache_version"; then
10+ ac_output="foo bar baz $with_apache_version"
11+else
12 ac_output=`$1 -v 2>&1`
13+fi
14+
15 ac_IFS=$IFS
16 IFS="- /.
17 "
18--- configure.in~ 2005-03-16 22:02:44.000000000 +0200
19+++ configure.in 2005-03-17 01:03:14.000000000 +0200
20@@ -766,6 +766,9 @@
c2630387 21 ])
c8b3f7e0
ER
22 AC_MSG_RESULT([$PHP_VERSIONING])
23
24+PHP_ARG_WITH(apache-version,[apache version],
25+[ --apache-version=MAJOR.MINOR.REVISION Sets apache version to avoid calling apache/httpd binary], no, no)
26+
27 divert(5)
c2630387 28
c8b3f7e0 29 dnl ## In diversion 5 we check which extensions should be compiled.
This page took 0.030017 seconds and 4 git commands to generate.