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]

gcj/classpath cosmetic configure improvement


I noticed by accident that classpath's configure printed âno: command
not foundâ.  It turned out that ânoâ isn't a very good command to pass
to AM_CONDITIONAL, because although it works, it's a bit noisy.  I
changed it to false, that should have the same effect, except that it
won't be noisy on most systems.

I'm checking this in at this point in the development cycle although it
doesn't fix any open bug reports and I have no idea whether it's a
regression just because it's such a trivial patch.

Tested on x86_64-linux-gnu.

for  gcc/ChangeLog.gcj
from  Alexandre Oliva  <aoliva@redhat.com>

	* configure.ac (GCJ_JAVAC): Run false rather than no.
	* configure: Rebuilt.

Index: libjava/classpath/configure
===================================================================
--- libjava/classpath/configure.orig	2011-01-29 23:18:01.503129323 -0200
+++ libjava/classpath/configure	2011-01-29 23:19:30.004255023 -0200
@@ -24182,7 +24182,7 @@ $as_echo "no" >&6; }
 
 
 else
-    if no; then
+    if false; then
   GCJ_JAVAC_TRUE=
   GCJ_JAVAC_FALSE='#'
 else
Index: libjava/classpath/configure.ac
===================================================================
--- libjava/classpath/configure.ac.orig	2011-01-29 23:18:01.807129758 -0200
+++ libjava/classpath/configure.ac	2011-01-29 23:19:21.636243221 -0200
@@ -1076,7 +1076,7 @@ if test "x${use_glibj_zip}" = xfalse || 
 	AC_PROG_JAVAC_WORKS
   	CLASSPATH_JAVAC_MEM_CHECK
 else
-   AM_CONDITIONAL(GCJ_JAVAC, no)
+   AM_CONDITIONAL(GCJ_JAVAC, false)
 fi
 
 dnl -----------------------------------------------------------

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer

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