From e2c207827fea33ca632e975ed3b7c0d220c10b29 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 7 Nov 2007 23:39:46 +0100 Subject: 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) --- source4/build/m4/check_ld.m4 | 10 +--------- 1 file changed, 1 insertion(+), 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 ]) -- cgit