Conditionaly build bind for developers

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2013-11-04 09:05:55 +01:00
parent ab389647c8
commit cb97bbcb9f

View File

@ -19,6 +19,7 @@
%{?!PKCS11: %global PKCS11 1} %{?!PKCS11: %global PKCS11 1}
%endif %endif
%{?!DEVEL: %global DEVEL 1} %{?!DEVEL: %global DEVEL 1}
%{?!developer: %global developer 0}
%global bind_dir /var/named %global bind_dir /var/named
%global chroot_prefix %{bind_dir}/chroot %global chroot_prefix %{bind_dir}/chroot
# #
@ -370,6 +371,9 @@ libtoolize -c -f; aclocal -I libtool.m4 --force; autoconf -f
%endif %endif
--enable-fixed-rrset \ --enable-fixed-rrset \
--with-docbook-xsl=%{_datadir}/sgml/docbook/xsl-stylesheets \ --with-docbook-xsl=%{_datadir}/sgml/docbook/xsl-stylesheets \
%if %{developer}
--enable-developer \
%endif
; ;
make %{?_smp_mflags} make %{?_smp_mflags}