From 19b1d034dc7bf98641cbea4934ec3f451d1db1f2 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 13 Nov 1995 20:47:41 +0000 Subject: [PATCH] * config.sub: Accept pmac and pmac-mpw as names for PowerMacs, 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. --- ChangeLog | 17 +++++++++++++++-- Makefile.in | 12 +++++++++++- configure.in | 11 ++++++++--- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index bb60f111c54..740e42ee0ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +Mon Nov 13 12:34:20 1995 Stan Shebs + + * config.sub: Accept pmac and pmac-mpw as names for PowerMacs, + 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. + +Wed Nov 8 17:33:51 1995 Jason Merrill + + * configure: CXX defaults to gcc, not g++. If we find + gcc in the path, set CC to gcc -O2. + Tue Nov 7 15:45:17 1995 Ian Lance Taylor * configure: Default ${build} correctly. Avoid picking up extra @@ -161,7 +174,7 @@ Thu Oct 19 10:40:57 1995 steve chamberlain Wed Oct 18 15:53:56 1995 steve chamberlain - * winsup. New directory. + * winsup: New directory. * Makefile.in: Build winsup. * configure.in: Winsup is configured when target is win32. Can only build win32 target GDB when native. @@ -717,7 +730,7 @@ Sat Feb 4 12:11:35 1995 Jim Wilson Fri Feb 3 11:54:42 1995 J.T. Conklin - * Makefile.in (source-vault, binary-vault): New targets + * Makefile.in (source-vault, binary-vault): New targets. Thu Jan 26 13:00:11 1995 Michael Meissner diff --git a/Makefile.in b/Makefile.in index 7f1676ae148..3840e4dbe08 100644 --- a/Makefile.in +++ b/Makefile.in @@ -394,6 +394,7 @@ ALL_MODULES = \ all-gawk \ all-gprof \ all-grep \ + all-grez \ all-gzip \ all-hello \ all-indent \ @@ -498,6 +499,7 @@ INSTALL_MODULES = \ install-gawk \ install-gprof \ install-grep \ + install-grez \ install-gzip \ install-hello \ install-indent \ @@ -859,8 +861,15 @@ $(CONFIGURE_TARGET_MODULES): LD="$(LD_FOR_TARGET)"; export LD; \ NM="$(NM_FOR_TARGET)"; export NM; \ RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ + echo Configuring in $(TARGET_SUBDIR)/$${dir}; \ cd $(TARGET_SUBDIR)/$${dir}; \ - $${srcroot}/configure $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + if [ -f $${srcroot}/$${dir}/configure ] ; then \ + $${srcroot}/$${dir}/configure \ + $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + else \ + $${srcroot}/configure \ + $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + fi; \ else \ true; \ fi \ @@ -1023,6 +1032,7 @@ all-gcc: all-libiberty all-byacc all-binutils all-gas all-ld all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-byacc all-sim $(gdbnlmrequirements) all-gprof: all-libiberty all-bfd all-grep: all-libiberty +all-grez: all-libiberty all-bfd all-gui: all-gdb all-libproc all-target-librx all-gzip: all-libiberty all-hello: all-libiberty diff --git a/configure.in b/configure.in index b4b51c6124e..2a0d47012e3 100644 --- a/configure.in +++ b/configure.in @@ -502,9 +502,14 @@ case "${target}" in noconfigdirs="$noconfigdirs target-newlib" ;; *-*-lynxos*) - # Newlib makes problems for libg++ in crosses. - noconfigdirs="$noconfigdirs target-newlib" - ;; + # Newlib makes problems for libg++ in crosses. + noconfigdirs="$noconfigdirs target-newlib" + ;; + *-*-macos* | \ + *-*-mpw*) + # Macs want a resource compiler. + configdirs="$configdirs grez" + ;; esac # If we are building a Canadian Cross, discard tools that can not be built -- 2.30.2