From 13d78ace49d0f7c5330c5297ef563284f573239a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 14 Jun 2007 14:35:29 +0000 Subject: [PATCH] r23497: Disable building of libaddns (no defined API) and libmsrpc (unmaintained). --- source/configure.in | 46 ++++++++-------------------------------------- 1 file changed, 8 insertions(+), 38 deletions(-) diff --git a/source/configure.in b/source/configure.in index 21f81ea1c62..3c21f8d1426 100644 --- a/source/configure.in +++ b/source/configure.in @@ -5001,12 +5001,12 @@ LIBMSRPC_SHARED= LIBMSRPC= AC_MSG_CHECKING(whether to build the libmsrpc shared library) AC_ARG_WITH(libmsrpc, -[ --with-libmsrpc Build the libmsrpc shared library (default=yes if shared libs supported)], +[ --with-libmsrpc Build the libmsrpc shared library (default=no unmaintained)], [ case "$withval" in - no) + *) AC_MSG_RESULT(no) ;; - *) + yes) if test $BLDSHARED = true; then LIBMSRPC_SHARED=bin/libmsrpc.$SHLIBEXT LIBMSRPC=libmsrpc @@ -5021,22 +5021,7 @@ AC_ARG_WITH(libmsrpc, INSTALL_LIBMSRPC=installlibmsrpc UNINSTALL_LIBMSRPC=uninstalllibmsrpc ;; - esac ], -[ -# if unspecified, default is to built it if possible. - if test $BLDSHARED = true; then - LIBMSRPC_SHARED=bin/libmsrpc.$SHLIBEXT - LIBMSRPC=libmsrpc - AC_MSG_RESULT(yes) - else - enable_static=yes - AC_MSG_RESULT(no shared library support -- will supply static library) - fi - if test $enable_static = yes; then - LIBMSRPC=libmsrpc - fi] - INSTALL_LIBMSRPC=installlibmsrpc - UNINSTALL_LIBMSRPC=uninstalllibmsrpc + esac ] ) @@ -5048,12 +5033,12 @@ LIBADDNS_SHARED= LIBADDNS= AC_MSG_CHECKING(whether to build the libaddns shared library) AC_ARG_WITH(libaddns, -[ --with-libaddns Build the libaddns shared library (default=yes if shared libs supported)], +[ --with-libaddns Build the libaddns shared library (default=no undefined API)], [ case "$withval" in - no) + *) AC_MSG_RESULT(no) ;; - *) + yes) if test $BLDSHARED = true; then LIBADDNS_SHARED=bin/libaddns.$SHLIBEXT LIBADDNS=libaddns @@ -5068,22 +5053,7 @@ AC_ARG_WITH(libaddns, INSTALL_LIBADDNS=installlibaddns UNINSTALL_LIBADDNS=uninstalllibaddns ;; - esac ], -[ -# if unspecified, default is to built it if possible. - if test $BLDSHARED = true; then - LIBADDNS_SHARED=bin/libaddns.$SHLIBEXT - LIBADDNS=libaddns - AC_MSG_RESULT(yes) - else - enable_static=yes - AC_MSG_RESULT(no shared library support -- will supply static library) - fi - if test $enable_static = yes; then - LIBADDNS=libaddns - fi] - INSTALL_LIBADDNS=installlibaddns - UNINSTALL_LIBADDNS=uninstalllibaddns + esac ] ) ################################################# -- 2.11.4.GIT