* config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
authorStan Shebs <shebs@codesourcery.com>
Mon, 13 Nov 1995 20:47:41 +0000 (20:47 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 13 Nov 1995 20:47:41 +0000 (20:47 +0000)
  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
Makefile.in
configure.in

index bb60f11..740e42e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Mon Nov 13 12:34:20 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * 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  <jason@yorick.cygnus.com>
+
+       * 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  <ian@cygnus.com>
 
        * configure: Default ${build} correctly.  Avoid picking up extra
@@ -161,7 +174,7 @@ Thu Oct 19 10:40:57 1995  steve chamberlain  <sac@slash.cygnus.com>
 
 Wed Oct 18 15:53:56 1995  steve chamberlain  <sac@slash.cygnus.com>
 
-       * 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  <wilson@chestnut.cygnus.com>
 
 Fri Feb  3 11:54:42 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
 
-       * 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  <meissner@cygnus.com>
 
index 7f1676a..3840e4d 100644 (file)
@@ -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
index b4b51c6..2a0d470 100644 (file)
@@ -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