|
|
@@ -44,6 +44,7 @@ Release: 20071005
|
|
|
%option with_threads no
|
|
|
%option with_pgsql no
|
|
|
%option with_mysql no
|
|
|
+%option with_odbc no
|
|
|
%option with_ldap no
|
|
|
|
|
|
# list of sources
|
|
|
@@ -68,6 +69,10 @@ PreReq: postgresql, openssl
|
|
|
BuildPreReq: mysql
|
|
|
PreReq: mysql
|
|
|
%endif
|
|
|
+%if "%{with_odbc}" == "yes"
|
|
|
+BuildPreReq: ODBC
|
|
|
+PreReq: ODBC
|
|
|
+%endif
|
|
|
%if "%{with_ldap}" == "yes"
|
|
|
BuildPreReq: openldap, openssl
|
|
|
PreReq: openldap, openssl
|
|
|
@@ -130,6 +135,9 @@ Conflicts: powerdns
|
|
|
%if "%{with_mysql}" == "yes"
|
|
|
--with-dlz-mysql=%{l_prefix} \
|
|
|
%endif
|
|
|
+%if "%{with_odbc}" == "yes"
|
|
|
+ --with-dlz-odbc=%{l_prefix} \
|
|
|
+%endif
|
|
|
%if "%{with_ldap}" == "yes"
|
|
|
--with-dlz-ldap=%{l_prefix} \
|
|
|
%endif
|