Kaynağa Gözat

added PHP bcmath support - enough PHP features for today

Christoph Schug 24 yıl önce
ebeveyn
işleme
c03f6f4c52
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. 5 0
      apache/apache.spec

+ 5 - 0
apache/apache.spec

@@ -69,6 +69,7 @@
 %{!?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}
+%{!?with_mod_php_bc:         %define  with_mod_php_bc         no}
 
 #   fixing implicit inter-module dependencies and correlations
 %if "%{with_mod_php}" == "yes"
@@ -228,6 +229,7 @@ AutoReqProv:  no
     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_xml=%{with_mod_php_xml}
+    with_mod_php_bc=%{with_mod_php_bc}
 
 %prep
     #   unpack Apache distribution
@@ -420,6 +422,9 @@ AutoReqProv:  no
 %endif
 %if "%{with_mod_php_xml}" == "yes"
           --with-xml=%{l_prefix} \
+%endif
+%if "%{with_mod_php_bc}" == "yes"
+          --enable-bcmath \
 %endif
           --disable-shared \
           --enable-track-vars