Преглед изворни кода

added PHP multi-byte regex/string support

Christoph Schug пре 22 година
родитељ
комит
9861da88a5
1 измењених фајлова са 8 додато и 0 уклоњено
  1. 8 0
      apache/apache.spec

+ 8 - 0
apache/apache.spec

@@ -119,6 +119,8 @@ Release:      20031028
 %option       with_mod_php_versioning   no
 %option       with_mod_php_snmp         no
 %option       with_mod_php_unixodbc     no
+%option       with_mod_php_mbregex      no
+%option       with_mod_php_mbstring     no
 
 #   package options (optional PHP3 specific settings; requires "with_mod_php3")
 %option       with_mod_php3_ftp         no
@@ -534,6 +536,12 @@ AutoReqProv:  no
           --prefix=%{l_prefix} \
           --with-apache=../apache_%{V_apache} \
           --with-config-file-path=%{l_prefix}/etc/apache \
+%if "%{with_mod_php_mbregex}" == "yes"
+          --enable-mbregex \
+%endif
+%if "%{with_mod_php_mbstring}" == "yes"
+          --enable-mbstring \
+%endif
 %if "%{with_mod_php_calendar}" == "yes"
           --enable-calendar \
 %endif