From d51180e4b80ff18980c58fd44fc870d5024dab04 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 7 Jul 2008 13:57:34 +0200 Subject: build: handle libaddns by SMB_LIBRARY() and correctly create SONAME file. Create .so file as a symlink. Michael (This used to be commit bbf665ad5790e89ff01867e2762fe2b94db7277d) --- source3/configure.in | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index b5c372974c..673bf3b91e 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -79,10 +79,6 @@ AC_SUBST(INSTALLLIBCMD_SH) AC_SUBST(INSTALLLIBCMD_A) AC_SUBST(UNINSTALLLIBCMD_SH) AC_SUBST(UNINSTALLLIBCMD_A) -AC_SUBST(INSTALL_LIBADDNS) -AC_SUBST(UNINSTALL_LIBADDNS) -AC_SUBST(LIBADDNS_SHARED) -AC_SUBST(LIBADDNS) AC_SUBST(INSTALL_LIBWBCLIENT) AC_SUBST(UNINSTALL_LIBWBCLIENT) @@ -4682,39 +4678,7 @@ SMB_LIBRARY(tdb) SMB_LIBRARY(netapi) SMB_LIBRARY(smbclient) SMB_LIBRARY(smbsharemodes) - - -################################################# -# should we build libaddns? -INSTALL_LIBADDNS= -UNINSTALL_LIBADDNS= -LIBADDNS_SHARED= -LIBADDNS= -AC_MSG_CHECKING(whether to build the libaddns shared library) -AC_ARG_WITH(libaddns, -[AS_HELP_STRING([--with-libaddns], [Build the libaddns shared library (default=no undefined API)])], -[ case "$withval" in - *) - AC_MSG_RESULT(no) - ;; - yes) - 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 ], -[AC_MSG_RESULT(no)] -) +SMB_LIBRARY(addns, no, [undefined API]) -- cgit