%bcond_without calendar # calendar extension module
%bcond_without ctype # ctype extension module
%bcond_without curl # CURL extension module
-%bcond_with dba # DBA extension module
+%bcond_without dba # DBA extension module
%bcond_without dom # DOM extension module
%bcond_without enchant # Enchant extension module
%bcond_without exif # EXIF extension module
BuildRequires: capstone-devel
%{?with_curl:BuildRequires: curl-devel >= 7.15.5}
BuildRequires: cyrus-sasl-devel >= 2
-%{?with_dba:BuildRequires: db-devel >= 4.0}
BuildRequires: elfutils-devel
%{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
%if %{with pdo_dblib}
BuildRequires: libxml2-devel >= 1:2.7.6-4
%{?with_xsl:BuildRequires: libxslt-devel >= 1.1.0}
%{?with_zip:BuildRequires: libzip-devel >= 1.3.1}
+%{?with_dba:BuildRequires: lmdb-devel}
%{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
%{?with_mm:BuildRequires: mm-devel >= 1.3.0}
%{!?with_mysqli:BuildRequires: mysql-devel}
--enable-xmlreader=shared \
%{__with_without bzip2 bz2 shared} \
%{__with_without curl curl shared} \
- --with-db4 \
%{__with_without iconv iconv shared} \
%{?with_enchant:--with-enchant=shared} \
--with-freetype \
%{__with_without ffi ffi shared} \
--with-jpeg \
%{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
+ --with-lmdb \
%{?with_mm:--with-mm} \
%{?with_mysqlnd:--enable-mysqlnd=shared} \
%{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \