This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix Re: Ada build broken on x86-linux


Can't believe I committed this backwards version and thought it works;
brain must have been on 'slow' that day.

Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libada/ChangeLog,v
retrieving revision 1.9
diff -u -r1.9 ChangeLog
--- ChangeLog	24 Apr 2004 01:28:02 -0000	1.9
+++ ChangeLog	25 Apr 2004 20:46:50 -0000
@@ -1,5 +1,11 @@
 2004-04-19  Nathanael Nerode  <neroden@gcc.gnu.org>
 
+	* configure.ac: Fix stupid brain-fade; set default_gnattools_target
+	correctly.
+	* configure: Regenerate.
+
+2004-04-19  Nathanael Nerode  <neroden@gcc.gnu.org>
+
 	* Makefile.in: Revert most of Arnaud's last change.  Prefer anything
 	over error-prone Make abuse.  Remove temporary debug code.
 	(gnatlib-zcx): New target.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libada/configure.ac,v
retrieving revision 1.4
diff -u -r1.4 configure.ac
--- configure.ac	24 Apr 2004 01:28:02 -0000	1.4
+++ configure.ac	25 Apr 2004 20:46:50 -0000
@@ -81,12 +81,18 @@
    && test ${enable_shared} = yes ; then
   # Note that build=target is almost certainly the wrong test; FIXME
   default_gnatlib_target="gnatlib-shared"
-  default_gnattools_target="gnattools-cross"
 else
   default_gnatlib_target="gnatlib-plain"
-  default_gnattools_target="gnattools-native"
 fi
 AC_SUBST([default_gnatlib_target])
+
+# Determine what to build for 'gnattools'
+if test $build = $target ; then
+  # Note that build=target is almost certainly the wrong test; FIXME
+  default_gnattools_target="gnattools-native"
+else
+  default_gnattools_target="gnattools-cross"
+fi
 AC_SUBST([default_gnattools_target])
 
 # Output: create a Makefile.

-- 
There are none so blind as those who will not see.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]