On Sun, 11 Feb 2007, Bruno Haible wrote: > Ouch. The class that I put into this javacomp.m4 is in Java 1.1 format; it > should be acceptable to any Java VM. Maybe something is wrong with the > echo or tr commands? Can you compare the generated conftestver.class with > the one I get (attached)?
They differ at byte 1. To be sure, your attached conftestver.class runs fine for me; it prints 1.4. I inserted `which echo' and `which tr' immediately after their invocation in javacomp.m4. Using the identified echo and tr, I get: % /usr/bin/echo --version echo (GNU coreutils) 5.2.1 Written by FIXME unknown. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % /usr/bin/tr --version tr (coreutils) 5.2.1 Written by Jim Meyering. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
