2006-03-14 Paolo Bonzini <bonzini@gnu.org>

Sync with gcc:
	2006-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * configure.in: Handle --disable-<component> generically.
        * configure: Regenerate.

	2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>

        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
        (TARGET_CONFIGDIRS): Remove.
        * configure.in: Remove AC_SUBST(target_configdirs).
        * Makefile.in, configure: Regenerated.
This commit is contained in:
Paolo Bonzini 2006-03-14 16:10:08 +00:00
parent 84d3817405
commit f621a0dc99
5 changed files with 179 additions and 196 deletions

View File

@ -1,3 +1,19 @@
2006-03-14 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2006-03-10 Aldy Hernandez <aldyh@redhat.com>
* configure.in: Handle --disable-<component> generically.
* configure: Regenerate.
2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>
* Makefile.tpl (BUILD_CONFIGDIRS): Remove.
(TARGET_CONFIGDIRS): Remove.
* configure.in: Remove AC_SUBST(target_configdirs).
* Makefile.in, configure: Regenerated.
2006-03-01 H.J. Lu <hongjiu.lu@intel.com> 2006-03-01 H.J. Lu <hongjiu.lu@intel.com>
PR libgcj/17311 PR libgcj/17311

View File

@ -84,8 +84,6 @@ GDB_NLM_DEPS =
# the libraries. # the libraries.
RPATH_ENVVAR = @RPATH_ENVVAR@ RPATH_ENVVAR = @RPATH_ENVVAR@
# This is the list of directories to be built for the build system.
BUILD_CONFIGDIRS = libiberty
# Build programs are put under this directory. # Build programs are put under this directory.
BUILD_SUBDIR = @build_subdir@ BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring # This is set by the configure script to the arguments to use when configuring
@ -178,9 +176,6 @@ POSTSTAGE1_HOST_EXPORTS = \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
-B$(build_tooldir)/bin/"; export CC_FOR_BUILD; -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
# This is set by the configure script to the list of directories which
# should be built using the target tools.
TARGET_CONFIGDIRS = @target_configdirs@
# Target libraries are put under this directory: # Target libraries are put under this directory:
TARGET_SUBDIR = @target_subdir@ TARGET_SUBDIR = @target_subdir@
# This is set by the configure script to the arguments to use when configuring # This is set by the configure script to the arguments to use when configuring
@ -36669,7 +36664,7 @@ POSTSTAGE1_FLAGS_TO_PASS = \
CFLAGS="$(BOOT_CFLAGS)" \ CFLAGS="$(BOOT_CFLAGS)" \
LIBCFLAGS="$(BOOT_CFLAGS)" \ LIBCFLAGS="$(BOOT_CFLAGS)" \
LDFLAGS="$(BOOT_LDFLAGS)" \ LDFLAGS="$(BOOT_LDFLAGS)" \
ADAC="\$$(CC)" "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
# For stage 1: # For stage 1:
# * We force-disable intermodule optimizations, even if # * We force-disable intermodule optimizations, even if
@ -37967,13 +37962,13 @@ do-distclean: distclean-stage1
# not work as a dependency, just as the minimum necessary to avoid errors. # not work as a dependency, just as the minimum necessary to avoid errors.
stage_last: stage_last:
$(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
@endif gcc-bootstrap
.PHONY: restrap .PHONY: restrap
restrap: restrap:
@: $(MAKE); $(stage) @: $(MAKE); $(stage)
rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback rm -rf stage1-$(TARGET_SUBDIR) stage2 stage3 stage4 stageprofile stagefeedback
$(MAKE) $(RECURSE_FLAGS_TO_PASS) all $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
@endif gcc-bootstrap
# -------------------------------------- # --------------------------------------
# Dependencies between different modules # Dependencies between different modules

View File

@ -87,8 +87,6 @@ GDB_NLM_DEPS =
# the libraries. # the libraries.
RPATH_ENVVAR = @RPATH_ENVVAR@ RPATH_ENVVAR = @RPATH_ENVVAR@
# This is the list of directories to be built for the build system.
BUILD_CONFIGDIRS = libiberty
# Build programs are put under this directory. # Build programs are put under this directory.
BUILD_SUBDIR = @build_subdir@ BUILD_SUBDIR = @build_subdir@
# This is set by the configure script to the arguments to use when configuring # This is set by the configure script to the arguments to use when configuring
@ -181,9 +179,6 @@ POSTSTAGE1_HOST_EXPORTS = \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
-B$(build_tooldir)/bin/"; export CC_FOR_BUILD; -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
# This is set by the configure script to the list of directories which
# should be built using the target tools.
TARGET_CONFIGDIRS = @target_configdirs@
# Target libraries are put under this directory: # Target libraries are put under this directory:
TARGET_SUBDIR = @target_subdir@ TARGET_SUBDIR = @target_subdir@
# This is set by the configure script to the arguments to use when configuring # This is set by the configure script to the arguments to use when configuring

304
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -305,7 +305,6 @@ AC_ARG_ENABLE(libada,
ENABLE_LIBADA=$enableval, ENABLE_LIBADA=$enableval,
ENABLE_LIBADA=yes) ENABLE_LIBADA=yes)
if test "${ENABLE_LIBADA}" != "yes" ; then if test "${ENABLE_LIBADA}" != "yes" ; then
noconfigdirs="$noconfigdirs target-libada"
noconfigdirs="$noconfigdirs gnattools" noconfigdirs="$noconfigdirs gnattools"
fi fi
@ -313,9 +312,6 @@ AC_ARG_ENABLE(libssp,
[ --enable-libssp Builds libssp directory], [ --enable-libssp Builds libssp directory],
ENABLE_LIBSSP=$enableval, ENABLE_LIBSSP=$enableval,
ENABLE_LIBSSP=yes) ENABLE_LIBSSP=yes)
if test "${ENABLE_LIBSSP}" != "yes" ; then
noconfigdirs="$noconfigdirs target-libssp"
fi
# Set the default so we build libgcc-math for ix86 and x86_64 # Set the default so we build libgcc-math for ix86 and x86_64
AC_ARG_ENABLE(libgcc-math, AC_ARG_ENABLE(libgcc-math,
@ -328,9 +324,6 @@ case "${target}" in
enable_libgcc_math=no ;; enable_libgcc_math=no ;;
esac esac
]) ])
if test "${enable_libgcc_math}" != "yes"; then
noconfigdirs="$noconfigdirs target-libgcc-math"
fi
# Save it here so that, even in case of --enable-libgcj, if the Java # Save it here so that, even in case of --enable-libgcj, if the Java
# front-end isn't enabled, we still get libgcj disabled. # front-end isn't enabled, we still get libgcj disabled.
@ -349,14 +342,8 @@ no)
esac esac
# Allow --disable-libmudflap to exclude target-libmudflap # Disable libmudflap on some systems.
case $enable_libmudflap in if test x$enable_libmudflap = x ; then
yes)
;;
no)
noconfigdirs="$noconfigdirs target-libmudflap"
;;
"")
case "${target}" in case "${target}" in
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
# Enable libmudflap by default in GNU and friends. # Enable libmudflap by default in GNU and friends.
@ -369,16 +356,10 @@ no)
noconfigdirs="$noconfigdirs target-libmudflap" noconfigdirs="$noconfigdirs target-libmudflap"
;; ;;
esac esac
esac fi
# Allow --disable-libgomp to exclude target-libgomp # Disable libgomp on non POSIX hosted systems.
case $enable_libgomp in if test x$enable_libgomp = x ; then
yes)
;;
no)
noconfigdirs="$noconfigdirs target-libgomp"
;;
"")
# Enable libgomp by default on hosted POSIX systems. # Enable libgomp by default on hosted POSIX systems.
case "${target}" in case "${target}" in
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
@ -393,7 +374,7 @@ no)
noconfigdirs="$noconfigdirs target-libgomp" noconfigdirs="$noconfigdirs target-libgomp"
;; ;;
esac esac
esac fi
case "${target}" in case "${target}" in
@ -1337,6 +1318,14 @@ Recognised languages are: ${potential_languages}])
ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[[^ ]]*//' -e 's/$/ --enable-languages='"$enable_languages"/ ` ac_configure_args=`echo " $ac_configure_args" | sed -e 's/ --enable-languages=[[^ ]]*//' -e 's/$/ --enable-languages='"$enable_languages"/ `
fi fi
# Handle --disable-<component> generically.
for dir in $configdirs $build_configdirs $target_configdirs ; do
dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
if eval test x\${enable_${dirname}} "=" xno ; then
noconfigdirs="$noconfigdirs $dir"
fi
done
# Remove the entries in $skipdirs and $noconfigdirs from $configdirs, # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
# $build_configdirs and $target_configdirs. # $build_configdirs and $target_configdirs.
# If we have the source for $noconfigdirs entries, add them to $notsupp. # If we have the source for $noconfigdirs entries, add them to $notsupp.
@ -2171,7 +2160,7 @@ AC_SUBST(configdirs)
# Target module lists & subconfigure args. # Target module lists & subconfigure args.
AC_SUBST(target_configargs) AC_SUBST(target_configargs)
AC_SUBST(target_configdirs)
# Build tools. # Build tools.
AC_SUBST(CC_FOR_BUILD) AC_SUBST(CC_FOR_BUILD)