summaryrefslogtreecommitdiff
path: root/source4/build/m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-07 23:39:46 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:45 +0100
commite2c207827fea33ca632e975ed3b7c0d220c10b29 (patch)
tree4b4cbf9b42dab96a75abc3af94dc479dcc580bcf /source4/build/m4
parentb4ddef5942990c266e8cf8497da15aef7a357c33 (diff)
downloadsamba-e2c207827fea33ca632e975ed3b7c0d220c10b29.tar.gz
samba-e2c207827fea33ca632e975ed3b7c0d220c10b29.tar.bz2
samba-e2c207827fea33ca632e975ed3b7c0d220c10b29.zip
r25901: Remove obsolete --enable-shared option (whether shared libs should be used internally can be set using --enable-dso).
(This used to be commit 571aa6ba22f6e4b774f9a9db3a02e3beec3f8523)
Diffstat (limited to 'source4/build/m4')
-rw-r--r--source4/build/m4/check_ld.m410
1 files changed, 1 insertions, 9 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index 4af38cf888..051dd1a1c3 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -116,14 +116,6 @@ AC_LD_SHLDFLAGS
AC_LD_SHLIBEXT
AC_LD_SONAMEFLAG
-AC_ARG_ENABLE(shared,
-[ --disable-shared Disable testing for building shared libraries],
-[],[enable_shared=yes])
-
-if test x"$enable_shared" = x"no" -o x"$enable_shared" = x"false"; then
- BLDSHARED=false
-fi
-
#######################################################
# test whether building a shared library actually works
if test $BLDSHARED = true; then
@@ -146,7 +138,7 @@ if test $BLDSHARED = true; then
ac_cv_shlib_works=no
# try building a trivial shared library
${CC} ${CFLAGS} ${PICFLAG} -c ${srcdir-.}/build/tests/shlib.c -o shlib.o &&
- ${SHLD} `eval echo ${SHLD_FLAGS} ` -o shlib.${SHLIBEXT} shlib.o &&
+ ${SHLD} echo ${SHLD_FLAGS} -o shlib.${SHLIBEXT} shlib.o &&
ac_cv_shlib_works=yes
rm -f shlib.${SHLIBEXT} shlib.o
])