diff options
Diffstat (limited to 'source4/build')
-rw-r--r-- | source4/build/m4/check_ld.m4 | 10 |
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 ]) |