classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: configure fixlet


From: Wolfgang Baer
Subject: [cp-patches] RFC: configure fixlet
Date: Mon, 16 Jan 2006 09:46:57 +0100
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Hi,

if only ecj is available currently configure breaks because we don't
test for a found ecj in the error test. Tested on my local box.

2006-01-16  Wolfgang Baer  <address@hidden>

        * m4/acinclude.m4: Test also for ecj found before exiting configure
        with no javac found error message.

OK, to commit ?

Wolfgang

Index: acinclude.m4
===================================================================
RCS file: /cvsroot/classpath/classpath/m4/acinclude.m4,v
retrieving revision 1.8
diff -u -r1.8 acinclude.m4
--- acinclude.m4        13 Dec 2005 01:20:29 -0000      1.8
+++ acinclude.m4        16 Jan 2006 08:42:16 -0000
@@ -23,9 +23,9 @@
   AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc)
   AM_CONDITIONAL(FOUND_GCJX, test "x${user_specified_javac}" = xgcjx)
 
-  if test "x${GCJ}" = x && test "x${JIKES}" = x && test 
"x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx; 
then
+  if test "x${GCJ}" = x && test "x${JIKES}" = x && test 
"x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx 
&& test "x${user_specified_javac}" != xecj; then
       # FIXME: use autoconf error function
-      echo "configure: cannot find javac, try --with-gcj, --with-jikes, 
--with-kjc, or --with-gcjx" 1>&2
+      echo "configure: cannot find javac, try --with-gcj, --with-jikes, 
--with-kjc, --with-ecj, or --with-gcjx" 1>&2
       exit 1    
   fi
 ])

reply via email to

[Prev in Thread] Current Thread [Next in Thread]