From: Andrew Pinski Date: Fri, 11 Jun 2004 17:37:06 +0000 (+0000) Subject: re PR libobjc/15901 (libobjc is not build shared if you do not supply --enable-shared) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f35ff6f89136443eb1f2307001ee029ff7bab73;p=gcc.git re PR libobjc/15901 (libobjc is not build shared if you do not supply --enable-shared) 2004-06-11 Andrew Pinski PR libobjc/15901 * configure.ac: Do not disable shared by default. * configure: Regenerate. From-SVN: r82980 --- diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index d6ba1f27114..fa34024102a 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,9 @@ +2004-06-11 Andrew Pinski + + PR libobjc/15901 + * configure.ac: Do not disable shared by default. + * configure: Regenerate. + 2004-06-03 Nicola Pero * Protocol.m ([-isEqual:]): Small optimizations returning diff --git a/libobjc/configure b/libobjc/configure index 555e1e05ed4..24daec96ae2 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -837,7 +837,7 @@ Optional Features: --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory --enable-objc-gc enable the use of Boehm's garbage collector with the GNU Objective-C runtime. - --enable-shared=PKGS build shared libraries default=no + --enable-shared=PKGS build shared libraries default=yes --enable-static=PKGS build static libraries default=yes --enable-fast-install=PKGS optimize for fast installation default=yes --disable-libtool-lock avoid locking (might break parallel builds) @@ -2881,7 +2881,9 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -# Disable shared libs by default +# Enable Win32 DLL on MS Windows - FIXME + + # Check whether --enable-shared or --disable-shared was given. if test "${enable_shared+set}" = set; then enableval="$enable_shared" @@ -2902,11 +2904,8 @@ no) enable_shared=no ;; ;; esac else - enable_shared=no + enable_shared=yes fi; -# Enable Win32 DLL on MS Windows - FIXME - - # Check whether --enable-static or --disable-static was given. if test "${enable_static+set}" = set; then enableval="$enable_static" @@ -3627,7 +3626,7 @@ test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" case $host in *-*-irix6*) # Find out which ABI we are using. - echo '#line 3630 "configure"' > conftest.$ac_ext + echo '#line 3629 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? diff --git a/libobjc/configure.ac b/libobjc/configure.ac index 16f9a025506..91635d299e6 100644 --- a/libobjc/configure.ac +++ b/libobjc/configure.ac @@ -189,8 +189,6 @@ AC_CHECK_TOOL(AR, ar) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_PROG_INSTALL -# Disable shared libs by default -AC_DISABLE_SHARED # Enable Win32 DLL on MS Windows - FIXME AC_LIBTOOL_WIN32_DLL