summaryrefslogtreecommitdiffstats
path: root/scilab/configure
diff options
context:
space:
mode:
authorClément DAVID <clement.david@scilab-enterprises.com>2015-03-09 17:21:37 +0100
committerClément DAVID <clement.david@scilab-enterprises.com>2015-03-09 17:27:37 +0100
commitafa9f1b8ffa10c31acbfcb3623c0763134b52376 (patch)
treec08fde865a4bbaa2ec8a2d5de18fa9b9f38abf95 /scilab/configure
parent856fb629a645438f4d66d94daba0a6f2de4c19c3 (diff)
downloadscilab-afa9f1b8ffa10c31acbfcb3623c0763134b52376.zip
scilab-afa9f1b8ffa10c31acbfcb3623c0763134b52376.tar.gz
configure : detect minimal JoGL version (2.2 API)
Add AC_JAVA_CHECK_VERSION_MANIFEST which check the Java manifest for "Package Versioning" information. Change-Id: Ifcf70e60bf5d95ce3069d37e6d08f12416a318d2
Diffstat (limited to 'scilab/configure')
-rwxr-xr-xscilab/configure258
1 files changed, 210 insertions, 48 deletions
diff --git a/scilab/configure b/scilab/configure
index 93355a1..490b75a 100755
--- a/scilab/configure
+++ b/scilab/configure
@@ -4382,7 +4382,7 @@ else
4382 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4382 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4383 since some C++ compilers masquerading as C compilers 4383 since some C++ compilers masquerading as C compilers
4384 incorrectly reject 9223372036854775807. */ 4384 incorrectly reject 9223372036854775807. */
4385#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4385#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4386 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4386 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4387 && LARGE_OFF_T % 2147483647 == 1) 4387 && LARGE_OFF_T % 2147483647 == 1)
4388 ? 1 : -1]; 4388 ? 1 : -1];
@@ -4428,7 +4428,7 @@ else
4428 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4429 since some C++ compilers masquerading as C compilers 4429 since some C++ compilers masquerading as C compilers
4430 incorrectly reject 9223372036854775807. */ 4430 incorrectly reject 9223372036854775807. */
4431#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4431#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4433 && LARGE_OFF_T % 2147483647 == 1) 4433 && LARGE_OFF_T % 2147483647 == 1)
4434 ? 1 : -1]; 4434 ? 1 : -1];
@@ -4452,7 +4452,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4453 since some C++ compilers masquerading as C compilers 4453 since some C++ compilers masquerading as C compilers
4454 incorrectly reject 9223372036854775807. */ 4454 incorrectly reject 9223372036854775807. */
4455#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4455#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4457 && LARGE_OFF_T % 2147483647 == 1) 4457 && LARGE_OFF_T % 2147483647 == 1)
4458 ? 1 : -1]; 4458 ? 1 : -1];
@@ -4497,7 +4497,7 @@ else
4497 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4498 since some C++ compilers masquerading as C compilers 4498 since some C++ compilers masquerading as C compilers
4499 incorrectly reject 9223372036854775807. */ 4499 incorrectly reject 9223372036854775807. */
4500#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4500#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4502 && LARGE_OFF_T % 2147483647 == 1) 4502 && LARGE_OFF_T % 2147483647 == 1)
4503 ? 1 : -1]; 4503 ? 1 : -1];
@@ -4521,7 +4521,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4521 We can't simply define LARGE_OFF_T to be 9223372036854775807, 4521 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4522 since some C++ compilers masquerading as C compilers 4522 since some C++ compilers masquerading as C compilers
4523 incorrectly reject 9223372036854775807. */ 4523 incorrectly reject 9223372036854775807. */
4524#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) 4524#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 4525 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4526 && LARGE_OFF_T % 2147483647 == 1) 4526 && LARGE_OFF_T % 2147483647 == 1)
4527 ? 1 : -1]; 4527 ? 1 : -1];
@@ -14297,6 +14297,168 @@ $as_echo "$as_me: WARNING: Could not find or use the Java package/jar jogl2 used
14297 JOGL2=$PACKAGE_JAR_FILE 14297 JOGL2=$PACKAGE_JAR_FILE
14298 14298
14299 14299
14300
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking minimal version (Specification-Version 2.2) of jogl2" >&5
14302$as_echo_n "checking minimal version (Specification-Version 2.2) of jogl2... " >&6; }
14303 export JARFILE=$JOGL2;
14304 if test "x" == "x"; then
14305
14306 cat << \EOF > conftest.java
14307// #line 14307 "configure"
14308import java.util.regex.Pattern;
14309
14310import java.io.IOException;
14311import java.util.jar.JarFile;
14312
14313public class conftest {
14314 public static void main(String[] argv) {
14315 String minVersion="2.2";
14316 try {
14317 String version = new JarFile(System.getenv("JARFILE")).getManifest().getMainAttributes().getValue("Specification-Version");
14318 System.out.println(version);
14319 if (compare(minVersion, version) > 0) {
14320 System.exit(-1);
14321 }
14322 } catch (IOException e) {
14323 System.err.println(e.getMessage());
14324 System.exit(1);
14325 }
14326 }
14327
14328 private static int compare(String v1, String v2) {
14329 String s1 = normalisedVersion(v1);
14330 String s2 = normalisedVersion(v2);
14331 return s1.compareTo(s2);
14332 }
14333
14334 private static String normalisedVersion(String version) {
14335 return normalisedVersion(version, ".", 4);
14336 }
14337
14338 private static String normalisedVersion(String version, String sep, int maxWidth) {
14339 String[] split = Pattern.compile(sep, Pattern.LITERAL).split(version);
14340 StringBuilder sb = new StringBuilder();
14341 for (String s : split) {
14342 sb.append(String.format("%" + maxWidth + 's', s));
14343 }
14344 return sb.toString();
14345 }
14346}
14347EOF
14348
14349 CLASSPATH=$ac_java_classpath
14350 export CLASSPATH
14351 cmd="$JAVAC ${JAVAC_FLAGS} conftest.java"
14352 if (echo $cmd >&5 ; eval $cmd >conftest.java.output 2>&5) ; then
14353 if test ""yes"" = "no"; then
14354 echo "yes" >&5
14355 echo "yes"
14356 else
14357 cmd="$JAVA conftest"
14358 if (echo $cmd >&5 ; eval $cmd >conftest.java.output 2>&5); then
14359 echo "yes" >&5
14360 echo "yes"
14361 else
14362 echo "configure: failed program was:" >&5
14363 cat conftest.java >&5
14364 if test -s conftest.java.output; then
14365 STDOUT=`cat conftest.java.output`
14366 fi
14367 echo "configure: CLASSPATH was $CLASSPATH" >&5
14368 as_fn_error $? "Wrong version of jogl2. Expected at least 2.2. Found $STDOUT" "$LINENO" 5
14369 fi
14370 fi
14371 if test -f conftest.java.output; then
14372 rm conftest.java.output
14373 fi
14374 else
14375 echo "configure: failed program was:" >&5
14376 cat conftest.java >&5
14377 echo "configure: CLASSPATH was $CLASSPATH" >&5
14378 as_fn_error $? "Wrong version of jogl2. Expected at least 2.2. Found $STDOUT" "$LINENO" 5
14379 fi
14380
14381 else
14382
14383 cat << \EOF > conftest.java
14384// #line 14384 "configure"
14385import java.util.regex.Pattern;
14386
14387import java.io.IOException;
14388import java.util.jar.JarFile;
14389
14390public class conftest {
14391 public static void main(String[] argv) {
14392 String minVersion="2.2";
14393 try {
14394 String version = new JarFile(System.getenv("JARFILE")).getManifest().getMainAttributes().getValue("Specification-Version");
14395 System.out.println("Specification-Version" + ": " + version);
14396 if (compare(minVersion, version) != 0) {
14397 System.exit(-1);
14398 }
14399 } catch (IOException e) {
14400 System.err.println(e.getMessage());
14401 System.exit(1);
14402 }
14403 }
14404
14405 private static int compare(String v1, String v2) {
14406 String s1 = normalisedVersion(v1);
14407 String s2 = normalisedVersion(v2);
14408 return s1.compareTo(s2);
14409 }
14410
14411 private static String normalisedVersion(String version) {
14412 return normalisedVersion(version, ".", 4);
14413 }
14414
14415 private static String normalisedVersion(String version, String sep, int maxWidth) {
14416 String[] split = Pattern.compile(sep, Pattern.LITERAL).split(version);
14417 StringBuilder sb = new StringBuilder();
14418 for (String s : split) {
14419 sb.append(String.format("%" + maxWidth + 's', s));
14420 }
14421 return sb.toString();
14422 }
14423}
14424EOF
14425
14426 CLASSPATH=$ac_java_classpath
14427 export CLASSPATH
14428 cmd="$JAVAC ${JAVAC_FLAGS} conftest.java"
14429 if (echo $cmd >&5 ; eval $cmd >conftest.java.output 2>&5) ; then
14430 if test ""yes"" = "no"; then
14431 echo "yes" >&5
14432 echo "yes"
14433 else
14434 cmd="$JAVA conftest"
14435 if (echo $cmd >&5 ; eval $cmd >conftest.java.output 2>&5); then
14436 echo "yes" >&5
14437 echo "yes"
14438 else
14439 echo "configure: failed program was:" >&5
14440 cat conftest.java >&5
14441 if test -s conftest.java.output; then
14442 STDOUT=`cat conftest.java.output`
14443 fi
14444 echo "configure: CLASSPATH was $CLASSPATH" >&5
14445 as_fn_error $? "Wrong version of jogl2. Expected exact version Specification-Version. Found $STDOUT" "$LINENO" 5
14446 fi
14447 fi
14448 if test -f conftest.java.output; then
14449 rm conftest.java.output
14450 fi
14451 else
14452 echo "configure: failed program was:" >&5
14453 cat conftest.java >&5
14454 echo "configure: CLASSPATH was $CLASSPATH" >&5
14455 as_fn_error $? "Wrong version of jogl2. Expected exact version Specification-Version. Found $STDOUT" "$LINENO" 5
14456 fi
14457
14458 fi
14459 unset JARFILE
14460
14461
14300 if test "$MACOSX" = 1; then 14462 if test "$MACOSX" = 1; then
14301 echo "Check of the presence of libjogl.jnilib and libjogl_awt.jnilib disabled under Mac OS X" 14463 echo "Check of the presence of libjogl.jnilib and libjogl_awt.jnilib disabled under Mac OS X"
14302 else 14464 else
@@ -14421,7 +14583,7 @@ $as_echo_n "checking gluegen2-rt... " >&6; }
14421 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 14583 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
14422 14584
14423 cat << \EOF > conftest.java 14585 cat << \EOF > conftest.java
14424// #line 14424 "configure" 14586// #line 14586 "configure"
14425import java.util.regex.Pattern; 14587import java.util.regex.Pattern;
14426 14588
14427import jogamp.common.os.MachineDescriptionRuntime; 14589import jogamp.common.os.MachineDescriptionRuntime;
@@ -14595,7 +14757,7 @@ $as_echo_n "checking jhall... " >&6; }
14595 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 14757 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
14596 14758
14597 cat << \EOF > conftest.java 14759 cat << \EOF > conftest.java
14598// #line 14598 "configure" 14760// #line 14760 "configure"
14599import java.util.regex.Pattern; 14761import java.util.regex.Pattern;
14600 14762
14601import javax.help.JHelp; 14763import javax.help.JHelp;
@@ -14710,7 +14872,7 @@ $as_echo_n "checking javahelp2... " >&6; }
14710 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 14872 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
14711 14873
14712 cat << \EOF > conftest.java 14874 cat << \EOF > conftest.java
14713// #line 14713 "configure" 14875// #line 14875 "configure"
14714import java.util.regex.Pattern; 14876import java.util.regex.Pattern;
14715 14877
14716import javax.help.JHelp; 14878import javax.help.JHelp;
@@ -14828,7 +14990,7 @@ $as_echo_n "checking jrosetta-API... " >&6; }
14828 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 14990 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
14829 14991
14830 cat << \EOF > conftest.java 14992 cat << \EOF > conftest.java
14831// #line 14831 "configure" 14993// #line 14993 "configure"
14832import java.util.regex.Pattern; 14994import java.util.regex.Pattern;
14833 14995
14834import com.artenum.rosetta.interfaces.core.ConsoleConfiguration; 14996import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
@@ -14942,7 +15104,7 @@ $as_echo_n "checking jrosetta-api... " >&6; }
14942 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15104 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
14943 15105
14944 cat << \EOF > conftest.java 15106 cat << \EOF > conftest.java
14945// #line 14945 "configure" 15107// #line 15107 "configure"
14946import java.util.regex.Pattern; 15108import java.util.regex.Pattern;
14947 15109
14948import com.artenum.rosetta.interfaces.core.ConsoleConfiguration; 15110import com.artenum.rosetta.interfaces.core.ConsoleConfiguration;
@@ -15060,7 +15222,7 @@ $as_echo_n "checking jrosetta-engine... " >&6; }
15060 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15222 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15061 15223
15062 cat << \EOF > conftest.java 15224 cat << \EOF > conftest.java
15063// #line 15063 "configure" 15225// #line 15225 "configure"
15064import java.util.regex.Pattern; 15226import java.util.regex.Pattern;
15065 15227
15066import com.artenum.rosetta.core.action.AbstractConsoleAction; 15228import com.artenum.rosetta.core.action.AbstractConsoleAction;
@@ -15166,7 +15328,7 @@ $as_echo_n "checking minimal version (1.0.4) of jrosetta-engine... " >&6; }
15166 if test "x" == "x"; then 15328 if test "x" == "x"; then
15167 15329
15168 cat << \EOF > conftest.java 15330 cat << \EOF > conftest.java
15169// #line 15169 "configure" 15331// #line 15331 "configure"
15170import java.util.regex.Pattern; 15332import java.util.regex.Pattern;
15171 15333
15172import com.artenum.rosetta.util.ConfigurationBuilder; 15334import com.artenum.rosetta.util.ConfigurationBuilder;
@@ -15238,7 +15400,7 @@ EOF
15238 else 15400 else
15239 15401
15240 cat << \EOF > conftest.java 15402 cat << \EOF > conftest.java
15241// #line 15241 "configure" 15403// #line 15403 "configure"
15242import java.util.regex.Pattern; 15404import java.util.regex.Pattern;
15243 15405
15244import com.artenum.rosetta.util.ConfigurationBuilder; 15406import com.artenum.rosetta.util.ConfigurationBuilder;
@@ -15331,7 +15493,7 @@ $as_echo_n "checking jeuclid-core... " >&6; }
15331 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15493 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15332 15494
15333 cat << \EOF > conftest.java 15495 cat << \EOF > conftest.java
15334// #line 15334 "configure" 15496// #line 15496 "configure"
15335import java.util.regex.Pattern; 15497import java.util.regex.Pattern;
15336 15498
15337import net.sourceforge.jeuclid.LayoutContext; 15499import net.sourceforge.jeuclid.LayoutContext;
@@ -15450,7 +15612,7 @@ $as_echo_n "checking fop... " >&6; }
15450 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15612 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15451 15613
15452 cat << \EOF > conftest.java 15614 cat << \EOF > conftest.java
15453// #line 15453 "configure" 15615// #line 15615 "configure"
15454import java.util.regex.Pattern; 15616import java.util.regex.Pattern;
15455 15617
15456import org.apache.fop.pdf.PDFInfo; 15618import org.apache.fop.pdf.PDFInfo;
@@ -15574,7 +15736,7 @@ $as_echo_n "checking freehep-graphics2d... " >&6; }
15574 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15736 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15575 15737
15576 cat << \EOF > conftest.java 15738 cat << \EOF > conftest.java
15577// #line 15577 "configure" 15739// #line 15739 "configure"
15578import java.util.regex.Pattern; 15740import java.util.regex.Pattern;
15579 15741
15580import org.freehep.graphics2d.VectorGraphics; 15742import org.freehep.graphics2d.VectorGraphics;
@@ -15691,7 +15853,7 @@ $as_echo_n "checking freehep-graphicsio-emf... " >&6; }
15691 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15853 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15692 15854
15693 cat << \EOF > conftest.java 15855 cat << \EOF > conftest.java
15694// #line 15694 "configure" 15856// #line 15856 "configure"
15695import java.util.regex.Pattern; 15857import java.util.regex.Pattern;
15696 15858
15697import org.freehep.graphicsio.emf.EMFGraphics2D; 15859import org.freehep.graphicsio.emf.EMFGraphics2D;
@@ -15808,7 +15970,7 @@ $as_echo_n "checking freehep-graphicsio... " >&6; }
15808 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 15970 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15809 15971
15810 cat << \EOF > conftest.java 15972 cat << \EOF > conftest.java
15811// #line 15811 "configure" 15973// #line 15973 "configure"
15812import java.util.regex.Pattern; 15974import java.util.regex.Pattern;
15813 15975
15814import org.freehep.graphicsio.VectorGraphicsIO; 15976import org.freehep.graphicsio.VectorGraphicsIO;
@@ -15925,7 +16087,7 @@ $as_echo_n "checking freehep-io... " >&6; }
15925 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16087 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
15926 16088
15927 cat << \EOF > conftest.java 16089 cat << \EOF > conftest.java
15928// #line 15928 "configure" 16090// #line 16090 "configure"
15929import java.util.regex.Pattern; 16091import java.util.regex.Pattern;
15930 16092
15931import org.freehep.util.io.XMLSequence; 16093import org.freehep.util.io.XMLSequence;
@@ -16042,7 +16204,7 @@ $as_echo_n "checking freehep-util... " >&6; }
16042 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16204 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16043 16205
16044 cat << \EOF > conftest.java 16206 cat << \EOF > conftest.java
16045// #line 16045 "configure" 16207// #line 16207 "configure"
16046import java.util.regex.Pattern; 16208import java.util.regex.Pattern;
16047 16209
16048import org.freehep.util.StringUtilities; 16210import org.freehep.util.StringUtilities;
@@ -16160,7 +16322,7 @@ $as_echo_n "checking batik-all... " >&6; }
16160 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16322 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16161 16323
16162 cat << \EOF > conftest.java 16324 cat << \EOF > conftest.java
16163// #line 16163 "configure" 16325// #line 16325 "configure"
16164import java.util.regex.Pattern; 16326import java.util.regex.Pattern;
16165 16327
16166import org.apache.batik.parser.Parser; 16328import org.apache.batik.parser.Parser;
@@ -16277,7 +16439,7 @@ $as_echo_n "checking batik... " >&6; }
16277 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16439 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16278 16440
16279 cat << \EOF > conftest.java 16441 cat << \EOF > conftest.java
16280// #line 16280 "configure" 16442// #line 16442 "configure"
16281import java.util.regex.Pattern; 16443import java.util.regex.Pattern;
16282 16444
16283import org.apache.batik.parser.Parser; 16445import org.apache.batik.parser.Parser;
@@ -16384,7 +16546,7 @@ $as_echo_n "checking minimal version (1.7) of batik... " >&6; }
16384 if test "x" == "x"; then 16546 if test "x" == "x"; then
16385 16547
16386 cat << \EOF > conftest.java 16548 cat << \EOF > conftest.java
16387// #line 16387 "configure" 16549// #line 16549 "configure"
16388import java.util.regex.Pattern; 16550import java.util.regex.Pattern;
16389 16551
16390import org.apache.batik.Version; 16552import org.apache.batik.Version;
@@ -16456,7 +16618,7 @@ EOF
16456 else 16618 else
16457 16619
16458 cat << \EOF > conftest.java 16620 cat << \EOF > conftest.java
16459// #line 16459 "configure" 16621// #line 16621 "configure"
16460import java.util.regex.Pattern; 16622import java.util.regex.Pattern;
16461 16623
16462import org.apache.batik.Version; 16624import org.apache.batik.Version;
@@ -16547,7 +16709,7 @@ $as_echo_n "checking commons-io... " >&6; }
16547 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16709 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16548 16710
16549 cat << \EOF > conftest.java 16711 cat << \EOF > conftest.java
16550// #line 16550 "configure" 16712// #line 16712 "configure"
16551import java.util.regex.Pattern; 16713import java.util.regex.Pattern;
16552 16714
16553import org.apache.commons.io.output.CountingOutputStream; 16715import org.apache.commons.io.output.CountingOutputStream;
@@ -16664,7 +16826,7 @@ $as_echo_n "checking xmlgraphics-commons... " >&6; }
16664 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16826 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16665 16827
16666 cat << \EOF > conftest.java 16828 cat << \EOF > conftest.java
16667// #line 16667 "configure" 16829// #line 16829 "configure"
16668import java.util.regex.Pattern; 16830import java.util.regex.Pattern;
16669 16831
16670import org.apache.xmlgraphics.util.Service; 16832import org.apache.xmlgraphics.util.Service;
@@ -16781,7 +16943,7 @@ $as_echo_n "checking avalon-framework... " >&6; }
16781 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 16943 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16782 16944
16783 cat << \EOF > conftest.java 16945 cat << \EOF > conftest.java
16784// #line 16784 "configure" 16946// #line 16946 "configure"
16785import java.util.regex.Pattern; 16947import java.util.regex.Pattern;
16786 16948
16787import org.apache.avalon.framework.configuration.ConfigurationException; 16949import org.apache.avalon.framework.configuration.ConfigurationException;
@@ -16898,7 +17060,7 @@ $as_echo_n "checking xml-apis-ext... " >&6; }
16898 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17060 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
16899 17061
16900 cat << \EOF > conftest.java 17062 cat << \EOF > conftest.java
16901// #line 16901 "configure" 17063// #line 17063 "configure"
16902import java.util.regex.Pattern; 17064import java.util.regex.Pattern;
16903 17065
16904import org.w3c.dom.svg.SVGDocument; 17066import org.w3c.dom.svg.SVGDocument;
@@ -17015,7 +17177,7 @@ $as_echo_n "checking xml-commons-apis-ext... " >&6; }
17015 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17177 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17016 17178
17017 cat << \EOF > conftest.java 17179 cat << \EOF > conftest.java
17018// #line 17018 "configure" 17180// #line 17180 "configure"
17019import java.util.regex.Pattern; 17181import java.util.regex.Pattern;
17020 17182
17021import org.w3c.dom.svg.SVGDocument; 17183import org.w3c.dom.svg.SVGDocument;
@@ -17136,7 +17298,7 @@ $as_echo_n "checking commons-logging... " >&6; }
17136 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17298 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17137 17299
17138 cat << \EOF > conftest.java 17300 cat << \EOF > conftest.java
17139// #line 17139 "configure" 17301// #line 17301 "configure"
17140import java.util.regex.Pattern; 17302import java.util.regex.Pattern;
17141 17303
17142import org.apache.commons.logging.LogFactory; 17304import org.apache.commons.logging.LogFactory;
@@ -17253,7 +17415,7 @@ $as_echo_n "checking jlatexmath... " >&6; }
17253 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17415 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17254 17416
17255 cat << \EOF > conftest.java 17417 cat << \EOF > conftest.java
17256// #line 17256 "configure" 17418// #line 17418 "configure"
17257import java.util.regex.Pattern; 17419import java.util.regex.Pattern;
17258 17420
17259import org.scilab.forge.jlatexmath.TeXFormula; 17421import org.scilab.forge.jlatexmath.TeXFormula;
@@ -17360,7 +17522,7 @@ $as_echo_n "checking minimal version (1.0.3) of jlatexmath... " >&6; }
17360 if test "x" == "x"; then 17522 if test "x" == "x"; then
17361 17523
17362 cat << \EOF > conftest.java 17524 cat << \EOF > conftest.java
17363// #line 17363 "configure" 17525// #line 17525 "configure"
17364import java.util.regex.Pattern; 17526import java.util.regex.Pattern;
17365 17527
17366import org.scilab.forge.jlatexmath.TeXFormula; 17528import org.scilab.forge.jlatexmath.TeXFormula;
@@ -17432,7 +17594,7 @@ EOF
17432 else 17594 else
17433 17595
17434 cat << \EOF > conftest.java 17596 cat << \EOF > conftest.java
17435// #line 17435 "configure" 17597// #line 17597 "configure"
17436import java.util.regex.Pattern; 17598import java.util.regex.Pattern;
17437 17599
17438import org.scilab.forge.jlatexmath.TeXFormula; 17600import org.scilab.forge.jlatexmath.TeXFormula;
@@ -17523,7 +17685,7 @@ $as_echo_n "checking jlatexmath-fop... " >&6; }
17523 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17685 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17524 17686
17525 cat << \EOF > conftest.java 17687 cat << \EOF > conftest.java
17526// #line 17526 "configure" 17688// #line 17688 "configure"
17527import java.util.regex.Pattern; 17689import java.util.regex.Pattern;
17528 17690
17529import org.scilab.forge.jlatexmath.fop.JLaTeXMathObj; 17691import org.scilab.forge.jlatexmath.fop.JLaTeXMathObj;
@@ -17646,7 +17808,7 @@ $as_echo_n "checking checkstyle... " >&6; }
17646 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17808 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17647 17809
17648 cat << \EOF > conftest.java 17810 cat << \EOF > conftest.java
17649// #line 17649 "configure" 17811// #line 17811 "configure"
17650import java.util.regex.Pattern; 17812import java.util.regex.Pattern;
17651 17813
17652import com.puppycrawl.tools.checkstyle.CheckStyleTask; 17814import com.puppycrawl.tools.checkstyle.CheckStyleTask;
@@ -17763,7 +17925,7 @@ $as_echo_n "checking commons-beanutils... " >&6; }
17763 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 17925 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17764 17926
17765 cat << \EOF > conftest.java 17927 cat << \EOF > conftest.java
17766// #line 17766 "configure" 17928// #line 17928 "configure"
17767import java.util.regex.Pattern; 17929import java.util.regex.Pattern;
17768 17930
17769import org.apache.commons.beanutils.Converter; 17931import org.apache.commons.beanutils.Converter;
@@ -17880,7 +18042,7 @@ $as_echo_n "checking antlr... " >&6; }
17880 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18042 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17881 18043
17882 cat << \EOF > conftest.java 18044 cat << \EOF > conftest.java
17883// #line 17883 "configure" 18045// #line 18045 "configure"
17884import java.util.regex.Pattern; 18046import java.util.regex.Pattern;
17885 18047
17886import antlr.TokenStreamException; 18048import antlr.TokenStreamException;
@@ -17997,7 +18159,7 @@ $as_echo_n "checking junit4... " >&6; }
17997 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18159 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
17998 18160
17999 cat << \EOF > conftest.java 18161 cat << \EOF > conftest.java
18000// #line 18000 "configure" 18162// #line 18162 "configure"
18001import java.util.regex.Pattern; 18163import java.util.regex.Pattern;
18002 18164
18003import org.junit.Assert; 18165import org.junit.Assert;
@@ -18111,7 +18273,7 @@ $as_echo_n "checking junit... " >&6; }
18111 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18273 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
18112 18274
18113 cat << \EOF > conftest.java 18275 cat << \EOF > conftest.java
18114// #line 18114 "configure" 18276// #line 18276 "configure"
18115import java.util.regex.Pattern; 18277import java.util.regex.Pattern;
18116 18278
18117import org.junit.Assert; 18279import org.junit.Assert;
@@ -18232,7 +18394,7 @@ $as_echo_n "checking cobertura... " >&6; }
18232 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18394 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
18233 18395
18234 cat << \EOF > conftest.java 18396 cat << \EOF > conftest.java
18235// #line 18235 "configure" 18397// #line 18397 "configure"
18236import java.util.regex.Pattern; 18398import java.util.regex.Pattern;
18237 18399
18238import net.sourceforge.cobertura.merge.Main; 18400import net.sourceforge.cobertura.merge.Main;
@@ -18349,7 +18511,7 @@ $as_echo_n "checking asm3... " >&6; }
18349 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18511 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
18350 18512
18351 cat << \EOF > conftest.java 18513 cat << \EOF > conftest.java
18352// #line 18352 "configure" 18514// #line 18514 "configure"
18353import java.util.regex.Pattern; 18515import java.util.regex.Pattern;
18354 18516
18355import org.objectweb.asm.Type; 18517import org.objectweb.asm.Type;
@@ -18463,7 +18625,7 @@ $as_echo_n "checking asm... " >&6; }
18463 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18625 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
18464 18626
18465 cat << \EOF > conftest.java 18627 cat << \EOF > conftest.java
18466// #line 18466 "configure" 18628// #line 18628 "configure"
18467import java.util.regex.Pattern; 18629import java.util.regex.Pattern;
18468 18630
18469import org.objectweb.asm.Type; 18631import org.objectweb.asm.Type;
@@ -18580,7 +18742,7 @@ $as_echo_n "checking ecj... " >&6; }
18580 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 18742 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
18581 18743
18582 cat << \EOF > conftest.java 18744 cat << \EOF > conftest.java
18583// #line 18583 "configure" 18745// #line 18745 "configure"
18584import java.util.regex.Pattern; 18746import java.util.regex.Pattern;
18585 18747
18586import org.eclipse.jdt.core.compiler.batch.BatchCompiler; 18748import org.eclipse.jdt.core.compiler.batch.BatchCompiler;
@@ -27172,7 +27334,7 @@ CPPFLAGS="$CPPFLAGS -I$CHK_TCL_INCLUDE_PATH"
27172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later" >&5 27334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later" >&5
27173$as_echo_n "checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later... " >&6; } 27335$as_echo_n "checking if tcl is version $CHK_TCL_MAJOR.$CHK_TCL_MINOR or later... " >&6; }
27174cat > conftest.$ac_ext <<EOF 27336cat > conftest.$ac_ext <<EOF
27175#line 27175 "configure" 27337#line 27337 "configure"
27176#include "confdefs.h" 27338#include "confdefs.h"
27177 27339
27178#include "$CHK_TCL_INCLUDE_PATH/$CHK_TCL_INC_NAME" 27340#include "$CHK_TCL_INCLUDE_PATH/$CHK_TCL_INC_NAME"
@@ -27483,7 +27645,7 @@ CPPFLAGS="$CPPFLAGS $TCL_INC_PATH -I$CHK_TK_INCLUDE_PATH $X_CFLAGS"
27483$as_echo_n "checking if tk is version $CHK_TK_MAJOR.$CHK_TK_MINOR or later... " >&6; } 27645$as_echo_n "checking if tk is version $CHK_TK_MAJOR.$CHK_TK_MINOR or later... " >&6; }
27484 27646
27485cat > conftest.$ac_ext <<EOF 27647cat > conftest.$ac_ext <<EOF
27486#line 27486 "configure" 27648#line 27648 "configure"
27487#include "confdefs.h" 27649#include "confdefs.h"
27488 27650
27489#include "$CHK_TK_INCLUDE_PATH/$CHK_TK_INC_NAME" 27651#include "$CHK_TK_INCLUDE_PATH/$CHK_TK_INC_NAME"
@@ -28072,7 +28234,7 @@ $as_echo_n "checking saxon9he... " >&6; }
28072 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 28234 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
28073 28235
28074 cat << \EOF > conftest.java 28236 cat << \EOF > conftest.java
28075// #line 28075 "configure" 28237// #line 28237 "configure"
28076import java.util.regex.Pattern; 28238import java.util.regex.Pattern;
28077 28239
28078import net.sf.saxon.Version; 28240import net.sf.saxon.Version;
@@ -28187,7 +28349,7 @@ $as_echo_n "checking saxon... " >&6; }
28187 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 28349 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
28188 28350
28189 cat << \EOF > conftest.java 28351 cat << \EOF > conftest.java
28190// #line 28190 "configure" 28352// #line 28352 "configure"
28191import java.util.regex.Pattern; 28353import java.util.regex.Pattern;
28192 28354
28193import net.sf.saxon.Version; 28355import net.sf.saxon.Version;
@@ -28303,7 +28465,7 @@ $as_echo_n "checking saxon... " >&6; }
28303 export ac_java_classpath="$jar_resolved:$ac_java_classpath" 28465 export ac_java_classpath="$jar_resolved:$ac_java_classpath"
28304 28466
28305 cat << \EOF > conftest.java 28467 cat << \EOF > conftest.java
28306// #line 28306 "configure" 28468// #line 28468 "configure"
28307import java.util.regex.Pattern; 28469import java.util.regex.Pattern;
28308 28470
28309import com.icl.saxon.Loader; 28471import com.icl.saxon.Loader;