Pārlūkot izejas kodu

be complete and provide also ODBC DLZ option

Ralf S. Engelschall 18 gadi atpakaļ
vecāks
revīzija
7f3a491d22
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. 8 0
      bind/bind.spec

+ 8 - 0
bind/bind.spec

@@ -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