summaryrefslogtreecommitdiff
path: root/source4/build/m4/check_ld.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-07 15:21:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:25:17 -0500
commit0fc10ccb653b4970dd780fde5a9bd4f6e14d0f02 (patch)
tree9fa94482c8461222e6800b010df3e4a30e79aff3 /source4/build/m4/check_ld.m4
parent84e08dad218dce505b76b36dc74c98548edcefeb (diff)
downloadsamba-0fc10ccb653b4970dd780fde5a9bd4f6e14d0f02.tar.gz
samba-0fc10ccb653b4970dd780fde5a9bd4f6e14d0f02.tar.bz2
samba-0fc10ccb653b4970dd780fde5a9bd4f6e14d0f02.zip
r19622: - remove unused var
- fix default for enable-dso to no metze (This used to be commit 47b113e5dbd33ab91246029af9293809824c5395)
Diffstat (limited to 'source4/build/m4/check_ld.m4')
-rw-r--r--source4/build/m4/check_ld.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index 1b1c6e92c6..0d33b7d765 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -186,12 +186,12 @@ AC_TRY_RUN([#include "${srcdir-.}/build/tests/trivial.c"],
AC_MSG_ERROR([we cannot link with the selected cc and ld flags. Aborting configure]),
AC_MSG_WARN([cannot run when cross-compiling]))
-try_dso=no
USESHARED=false
AC_SUBST(USESHARED)
AC_ARG_ENABLE(dso,
-[ --enable-dso Enable using shared libraries internally (experimental)])
+[ --enable-dso Enable using shared libraries internally (experimental)],
+[],[enable_dso=no])
if test x"$enable_dso" = x"yes" -a x"$BLDSHARED" != x"true"; then
AC_MSG_ERROR([--enable-dso: no support for shared libraries])