r25901: Remove obsolete --enable-shared option (whether shared libs should be used...
authorJelmer Vernooij <jelmer@samba.org>
Wed, 7 Nov 2007 22:39:46 +0000 (23:39 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:44:45 +0000 (05:44 +0100)
(This used to be commit 571aa6ba22f6e4b774f9a9db3a02e3beec3f8523)

source4/build/m4/check_ld.m4

index 4af38cf88863b2f09fcf5ddc12f2538fecee43cb..051dd1a1c3c663c4ca876f3e7edbe3fd2a2c7095 100644 (file)
@@ -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
        ])