[PATCH]: Add double brackets for darwin[912]

Jack Howarth howarth@bromo.med.uc.edu
Wed Dec 3 16:17:00 GMT 2008


The absence of double brackets around 912 in r142367 and
r142369 resulted in darwin[912] becoming darwin912 in
the generated configure files. Addition of an extra set
of brackets around 912 retains the single brackets in
the generated configure files. Okay for gcc trunk?
                          Jack

2008-12-03  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Add double brackets on darwin[912].
        * configure: Regenerate.
        * libjava/configure.ac: Add double brackets on darwin[912].
        * libjava/configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac	(revision 142396)
+++ configure.ac	(working copy)
@@ -446,7 +446,7 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | x86_64-*-darwin[912]*)
+  powerpc-*-darwin* | x86_64-*-darwin[[912]]*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
Index: libjava/configure.ac
===================================================================
--- libjava/configure.ac	(revision 142396)
+++ libjava/configure.ac	(working copy)
@@ -867,7 +867,7 @@
     # on Darwin -single_module speeds up loading of the dynamic libraries.
     extra_ldflags_libjava=-Wl,-single_module
     ;;
-*-*-darwin[912]*)
+*-*-darwin[[912]]*)
     extra_gij_ldflags=-Wl,-allow_stack_execute
     ;;
 arm*linux*eabi)



More information about the Gcc-patches mailing list