|
|
@@ -68,6 +68,7 @@
|
|
|
%{!?with_mod_php_freetype: %define with_mod_php_freetype no}
|
|
|
%{!?with_mod_php_gettext: %define with_mod_php_gettext no}
|
|
|
%{!?with_mod_php_imap: %define with_mod_php_imap no}
|
|
|
+%{!?with_mod_php_xml: %define with_mod_php_xml no}
|
|
|
|
|
|
# fixing implicit inter-module dependencies and correlations
|
|
|
%if "%{with_mod_php}" == "yes"
|
|
|
@@ -189,6 +190,9 @@ BuildPreReq: gettext, libiconv
|
|
|
%if "%{with_mod_php_imap}" == "yes"
|
|
|
BuildPreReq: c-client
|
|
|
%endif
|
|
|
+%if "%{with_mod_php_xml}" == "yes"
|
|
|
+BuildPreReq: expat
|
|
|
+%endif
|
|
|
%endif
|
|
|
%if "%{with_mod_auth_pam}" == "yes"
|
|
|
BuildPreReq: PAM
|
|
|
@@ -223,7 +227,7 @@ AutoReqProv: no
|
|
|
with_mod_php_openssl=%{with_mod_php_openssl} with_mod_php_openldap=%{with_mod_php_openldap} with_mod_php_mm=%{with_mod_php_mm}
|
|
|
with_mod_php_pcre=%{with_mod_php_pcre} with_mod_php_ftp=%{with_mod_php_ftp} with_mod_php_java=%{with_mod_php_java}
|
|
|
with_mod_php_oci8=%{with_mod_php_oci8} with_mod_php_gettext=%{with_mod_php_gettext}
|
|
|
- with_mod_php_imap=%{with_mod_php_imap}
|
|
|
+ with_mod_php_imap=%{with_mod_php_imap} with_mod_php_xml=%{with_mod_php_xml}
|
|
|
|
|
|
%prep
|
|
|
# unpack Apache distribution
|
|
|
@@ -413,6 +417,9 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
%if "%{with_mod_php_imap}" == "yes"
|
|
|
--with-imap=%{l_prefix} \
|
|
|
+%endif
|
|
|
+%if "%{with_mod_php_xml}" == "yes"
|
|
|
+ --with-xml=%{l_prefix} \
|
|
|
%endif
|
|
|
--disable-shared \
|
|
|
--enable-track-vars
|