summaryrefslogtreecommitdiff
path: root/source4/configure.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-07 16:27:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:31 -0500
commit2761caf567aac966590e9a920e531f4df72a3a1b (patch)
treea74452e83257c3e4115f53d9c933e8eaa9bac14f /source4/configure.in
parentf3f19158bb3e1307337c77f06991441f3c70a1e6 (diff)
downloadsamba-2761caf567aac966590e9a920e531f4df72a3a1b.tar.gz
samba-2761caf567aac966590e9a920e531f4df72a3a1b.tar.bz2
samba-2761caf567aac966590e9a920e531f4df72a3a1b.zip
r13954: Add --enable-dso flag to ./configure that simplifies the ability to
do shared library-enabled builds. (This used to be commit 9a1d76c13d44d6a8e4557893f485c5b81c68e01a)
Diffstat (limited to 'source4/configure.in')
-rw-r--r--source4/configure.in14
1 files changed, 6 insertions, 8 deletions
diff --git a/source4/configure.in b/source4/configure.in
index 7fb6ccf38a..625557fca5 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -43,14 +43,12 @@ sinclude(web_server/config.m4)
sinclude(auth/config.m4)
sinclude(kdc/config.m4)
-AC_DEFINE_UNQUOTED(STRING_STATIC_MODULES, "$string_static_modules", [String list of builtin modules])
-
-#################################################
-# do extra things if we are running insure
-
-if test "${ac_cv_prog_CC}" = "insure"; then
- CPPFLAGS="$CPPFLAGS -D__INSURE__"
-fi
+AC_ARG_ENABLE(dso,
+[ --enable-dso Enable building internal libraries as DSO's (experimental)],
+[ if test x$enable_dso != xyes; then
+ BLDSHARED=false
+ fi],
+[BLDSHARED=false])
#################################################
# add *_CFLAGS only for the real build