]> git.pld-linux.org Git - packages/php.git/blob - php-stupidapache_version.patch
- add --apache-version=MAJOR.MINOR.REVISION option instead of hardcoding
[packages/php.git] / php-stupidapache_version.patch
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 @@
21  ])
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)
28  
29  dnl ## In diversion 5 we check which extensions should be compiled.
This page took 0.04623 seconds and 4 git commands to generate.