CONFIG_ARGUMENTS, and always configure for --host only. Add
--with-cross-host option when building with a cross-compiler.
* configure: Canonicalize the arguments put into config.status by
always using `=' for an option with an argument. Pass a presumed
--host or --target explicitly.
Preserve relative path names in $srcdir. Build symlink tree if
configuring cross target dir and srcdir=. (= no VPATH support).
(configure-target-libg++): Depend on configure-target-librx.
* cfg-ml-com.in, cfg-ml-pos.in: Deleted.
* config-ml.in: New file.
* symlink-tree: New file.
* configure: Ensure srcdir="." if that's what it is.
includes and FLEX_SKELETON setting.
* mpw-configure (--with-gnu-ld): New option, controls whether
to use PPCLink or ld with PowerMac GCC.
* mpw-build.in (all-grez, do-grez, install-grez): New targets.
* mpw-config.in: Configure grez if targeting Mac.
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
just macos.
* configure.in: Configure grez resource compiler if targeting Mac.
* Makefile.in (all-grez, install-grez): New targets.
spaces when reading CC and CXX from Makefile. When doing a
Canadian Cross, use plausible default values for numerous
variables.
* configure.in: When doing a Canadian Cross, don't try to
configure tools whose configure script can't handle it.
to target-xiberty, to provide more flexibility.
(target_subdir): Define. Create if cross.
Set TARGET_SUBDIR in Makefile to ${target_subdir}.
* Makefile.in: Rename all-libFOO -> all-target-libFOO, all-xiberty
-> all-target-libiberty, configure-libFOO -> configure-target-libFOO,
check-libFOO -> check-target-libFOO, etc.
($(DO_X)): Iterate over TARGET_CONFIGDIRS after SUBDIRS.
($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES),
$(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly.
(configure-target-XXX): Depend on $(ALL_GCC), not all-gcc, to
allow ALL_GCC="" to only configure.
(DEVO_SUPPORT): Add cfg-ml-com.in and cfg-ml-pos.in.
(ETC_SUPPORT, ETC_SUPPORT_PFX): Merge; update 'taz' accordingly.
(LIBGXX_SUPPORT_DIRS): Remove xiberty.
null) if toplevel/config/mh-{host} doesn't define it. Fixes a
problem with autoconf trying to configure on a host without GCC.
* config.sub: Add `magic' as an OS target for General Magic.
only use generic MPW Makefile sed if present, edit a file
named "hacked_Makefile.in" instead of "Makefile.in" if present.
* mpw-README: Add problem notes about CW6 and CW7.
sub-directory Makefiles, instead of using DISTSTUFFDIRS and
DISTDOCDIRS.
(DISTSTUFFDIRS, DISTDOCDIRS): Removed - no longer used.
(newlib.tar.gz): Don't pass DISTDOCDIRS to recursive make.
them, based on either an existing Makefile or on searching for gcc
in PATH. Substitute for CC and CXX in Makefile.
* configure.in: Remove libm from target_libs. Separate
target_configdirs from configdirs. If CC is not set in
environment, try to get it from a host Makefile fragment. Rewrite
changes of configdirs to use skipdirs instead. A few minor
tweaks. Take directories out of target_configdirs as they are
taken out of configdirs. Remove existing Makefile files from
subdirectories. Substitute for TARGET_CONFIGDIRS and
CONFIG_ARGUMENTS in Makefile.
* Makefile.in (TARGET_CONFIGDIRS): New variable, automatically set
by configure.in.
(CONFIG_ARGUMENTS): Likewise.
(CONFIGURE_TARGET_MODULES): New variable.
($(DO_X)): Loop over TARGET_CONFIGDIRS as well as SUBDIRS.
($(CONFIGURE_TARGET_MODULES)): New target.
(configure-libg++, configure-libio): New targets.
(all-libg++): Depend upon configure-libg++.
(all-libio): Depend upon configure-libio.
(configure-libgloss, all-libgloss): New targets.
(configure-libstdc++): New target.
(all-libstdc++): Depend upon configure-libstdc++.
(configure-librx, all-librx): New targets.
(configure-newlib): New target.
(all-newlib): Depend upon configure-newlib
(configure-xiberty): New target.
(all-xiberty): Depend upon configure-xiberty.