|
|
@@ -57,9 +57,11 @@
|
|
|
|
|
|
# more optional PHP4 specific settings
|
|
|
# (requires "with_mod_php" set to "yes" above!)
|
|
|
+%{!?with_mod_php_calendar: %define with_mod_php_calendar no}
|
|
|
%{!?with_mod_php_mysql: %define with_mod_php_mysql no}
|
|
|
%{!?with_mod_php_gd: %define with_mod_php_gd no}
|
|
|
%{!?with_mod_php_db: %define with_mod_php_db no}
|
|
|
+%{!?with_mod_php_debug: %define with_mod_php_debug no}
|
|
|
%{!?with_mod_php_pdflib: %define with_mod_php_pdflib no}
|
|
|
%{!?with_mod_php_zlib: %define with_mod_php_zlib no}
|
|
|
%{!?with_mod_php_bzip2: %define with_mod_php_bzip2 no}
|
|
|
@@ -283,9 +285,11 @@ AutoReqProv: no
|
|
|
--define 'with_mod_zmod %{with_mod_zmod}'
|
|
|
|
|
|
Options (additional extensions for mod_php):
|
|
|
- --define 'with_mod_php_bzip23 %{with_mod_php_bzip2}' \
|
|
|
+ --define 'with_mod_php_bzip2 %{with_mod_php_bzip2}' \
|
|
|
--define 'with_mod_php_bc %{with_mod_php_bc}' \
|
|
|
+ --define 'with_mod_php_calendar %{with_mod_php_calendar}' \
|
|
|
--define 'with_mod_php_db %{with_mod_php_db}' \
|
|
|
+ --define 'with_mod_php_debug %{with_mod_php_debug}' \
|
|
|
--define 'with_mod_php_ftp %{with_mod_php_ftp}' \
|
|
|
--define 'with_mod_php_gd %{with_mod_php_gd}' \
|
|
|
--define 'with_mod_php_gettext %{with_mod_php_gettext}' \
|
|
|
@@ -452,6 +456,9 @@ AutoReqProv: no
|
|
|
--prefix=%{l_prefix} \
|
|
|
--with-apache=../apache_%{V_apache} \
|
|
|
--with-config-file-path=%{l_prefix}/etc/apache \
|
|
|
+%if "%{with_mod_php_calendar}" == "yes"
|
|
|
+ --enable-calendar \
|
|
|
+%endif
|
|
|
%if "%{with_mod_php_mysql}" == "yes"
|
|
|
--with-mysql=%{l_prefix} \
|
|
|
%endif
|
|
|
@@ -465,6 +472,11 @@ AutoReqProv: no
|
|
|
%if "%{with_mod_php_db}" == "yes"
|
|
|
--with-db3=%{l_prefix} \
|
|
|
%endif
|
|
|
+%if "%{with_mod_php_debug}" == "yes"
|
|
|
+ --with-debug=yes \
|
|
|
+%else
|
|
|
+ --with-debug=no \
|
|
|
+%endif
|
|
|
%if "%{with_mod_php_zlib}" == "yes"
|
|
|
--with-zlib=%{l_prefix} \
|
|
|
%endif
|
|
|
@@ -512,6 +524,7 @@ AutoReqProv: no
|
|
|
--enable-trans-sid \
|
|
|
%endif
|
|
|
--disable-shared \
|
|
|
+ --enable-inline-optimization \
|
|
|
--enable-track-vars
|
|
|
%{l_make} %{l_mflags}
|
|
|
%{l_shtool} subst \
|