-# - msession module causes SEGV during phpinfo()
-# (only in Ra? doesn't happen in my environment)
-# - pear - isn't built now, what is still needed???
-# - fastcgi option in cgi SAPI?
-# - add cli SAPI?
-# maybe /usr/bin/php.{cli,cgi,fcgi}, but which one should be /usr/bin/php?
-# - add notes about different behaviour (global file + included SAPI files)
-# to php*.ini
-# - look at security notes in php.ini-recommended (ugh), update ini patch;
-# set java.{class,library}.path appropriately
-# - check/update "experimental" in descriptions
+# - make sure that session-unregister patch is no longer needed
+# (any crash reports related to session modules?)
+#
+# Conditional build:
+%bcond_with fdf # with FDF (PDF forms) module (BR:proprietary lib)
+%bcond_with fribidi # with FriBiDi extension module
+%bcond_with interbase # with InterBase extension module
+%bcond_with interbase_inst # use InterBase install., not Firebird (BR:proprietary libs)
+%bcond_with java # with Java extension module (BR:jdk)
+%bcond_with oci8 # with Oracle oci8 extension module (BR:proprietary libs)
+%bcond_with oracle # with oracle extension module (BR:proprietary libs)
+%bcond_with qtdom # with QT DOM extension module
+%bcond_without cpdf # without cpdf extension module
+%bcond_without curl # without CURL extension module
+%bcond_without db3 # use db packages instead of db3 (3.x) for Berkeley DB support
+%bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module
+%bcond_without imap # without IMAP extension module
+%bcond_without ldap # without LDAP extension module
+%bcond_without mhash # without mhash extension module
+%bcond_without ming # without ming extension module
+%bcond_without mm # without mm support for session storage
+%bcond_without mnogosearch # without mnogosearch extension module
+%bcond_without msession # without msession extension module
+%bcond_without mssql # without MS SQL extension module
+%bcond_without odbc # without ODBC extension module
+%bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
+%bcond_without pcre # without PCRE extension module
+%bcond_without pdf # without PDF extension module
+%bcond_without pgsql # without PostgreSQL extension module
+%bcond_without pspell # without pspell extension module
+%bcond_without recode # without recode extension module
+%bcond_without snmp # without SNMP extension module
+%bcond_without sybase # without Sybase and Sybase-CT extension modules
+%bcond_without wddx # without WDDX extension module
+%bcond_without xmlrpc # without XML-RPC extension module
+%bcond_without xml # without XML and DOMXML extension modules
+%bcond_without xslt # without XSLT extension module
+%bcond_without yaz # without YAZ extension module