From 9ed37e8b9ccd53bc37b546fffe487b9547dda3a0 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 4 Jul 2001 03:37:43 +0000 Subject: [PATCH] Add --enable-libbind --- Makefile.in | 4 ++-- configure.in | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index f082771feb..e2837f5669 100644 --- a/Makefile.in +++ b/Makefile.in @@ -13,7 +13,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: Makefile.in,v 1.39 2001/06/28 02:30:29 marka Exp $ +# $Id: Makefile.in,v 1.40 2001/07/04 03:37:43 marka Exp $ srcdir = @srcdir@ VPATH = @srcdir@ @@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@ @BIND9_VERSION@ -SUBDIRS = make lib bin doc lib/bind +SUBDIRS = make lib bin doc @LIBBIND@ TARGETS = @BIND9_MAKE_RULES@ diff --git a/configure.in b/configure.in index 7091ab25e8..151ade1059 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.266 $) +AC_REVISION($Revision: 1.267 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -831,6 +831,21 @@ AC_SUBST(A) AC_SUBST(SA) AC_SUBST(LIBTOOL_MKDEP_SED) +# +# build libbind? +# +AC_ARG_ENABLE(libbind, + [ --enable-libbind build libbind [default=no]]) + +case "$enable_libbind" in + yes) + LIBBIND=lib/bind + AC_SUBST(LIBBIND) + ;; + no|'') + ;; +esac + # # Here begins a very long section to determine the system's networking # capabilities. The order of the tests is signficant.