From a64756050c2a9e7d582826d478e0b1422ab1b486 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Fri, 14 Oct 2005 06:18:06 +0000 Subject: Autoselect APACHE2 option if WITH_APACHE2 is defined. Submitted by: Rick van der Zwet --- lang/php4/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lang/php4') diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 8d8d32f7fe2b..c4211f81b0bf 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -69,8 +69,12 @@ OPTIONS= REDIRECT "Enable force-cgi-redirect support" off \ PATHINFO "Enable path-info-check support" on .endif .if defined(WITH_APACHE) +.if defined(WITH_APACHE2) +OPTIONS= APACHE2 "Use apache 2.x instead of apache 1.3.x" on +.else OPTIONS= APACHE2 "Use apache 2.x instead of apache 1.3.x" off .endif +.endif OPTIONS+= DEBUG "Enable debug" off \ MULTIBYTE "Enable zend multibyte support" off \ IPV6 "Enable ipv6 support" on \ -- cgit v1.2.3