From 66c17f778ac65d1b37a6c13187d52bb8dad005de Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Nov 2006 14:03:51 +0000 Subject: r19571: Add a USESHARED parameter (different from BLDSHARED) + two small shared-library related fixes. (This used to be commit 8c7276b6c6ccebfbc60de978fcb2c23e7fbc12b5) --- source4/configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'source4/configure.ac') diff --git a/source4/configure.ac b/source4/configure.ac index be9f627d69..ac7998ba5f 100644 --- a/source4/configure.ac +++ b/source4/configure.ac @@ -50,14 +50,16 @@ m4_include(lib/appweb/config.m4) m4_include(nsswitch/config.m4) m4_include(libcli/config.m4) -dnl disabled until we support external heimdal again +USESHARED=$BLDSHARED + AC_ARG_ENABLE(dso, -[ --enable-dso Enable building internal libraries as DSO's (experimental)], +[ --enable-dso Enable using shared libraries internally (experimental)], [ if test x$enable_dso != xno; then - BLDSHARED=true + USESHARED=true fi], -[BLDSHARED=false]) +[USESHARED=false]) +AC_SUBST(USESHARED) ################################################# # add *_CFLAGS only for the real build -- cgit