configure.in (enable_shared): Support per-package shared-library enabling.

* configure.in (enable_shared): Support per-package shared-library
enabling.
* configure: Rebuilt.

From-SVN: r40315
This commit is contained in:
Alexandre Oliva 2001-03-08 06:11:02 +00:00 committed by Alexandre Oliva
parent 251b366767
commit c785e0fab4
3 changed files with 260 additions and 226 deletions

View File

@ -1,3 +1,9 @@
2001-03-08 Alexandre Oliva <aoliva@redhat.com>
* configure.in (enable_shared): Support per-package shared-library
enabling.
* configure: Rebuilt.
2001-03-07 David Edelsohn <edelsohn@gnu.org>
* rs6000.md (cr logic): Add original POWER mnemonic alternative

464
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -315,7 +315,21 @@ dwarf2=no)
AC_ARG_ENABLE(shared,
[ --disable-shared don't provide a shared libgcc.],
[], [enable_shared=yes])
[
case $enable_shared in
yes | no) ;;
*)
enable_shared=no
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "Xgcc" || test "X$pkg" = "Xlibgcc"; then
enable_shared=yes
fi
done
IFS="$ac_save_ifs"
;;
esac
], [enable_shared=yes])
AC_SUBST(enable_shared)
# Determine the host, build, and target systems