updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / scilab / configure-hdf5-vercheck.patch
blob0f1d875f393b27977c8463070c8a8cee8ce5e8e1
1 --- configure.bak 2011-07-10 11:28:35.833136771 +0200
2 +++ configure 2011-07-10 11:28:45.023136232 +0200
3 @@ -19495,21 +19495,6 @@
4 // #line 19495 "configure"
5 import ncsa.hdf.hdf5lib.H5;
7 -public class conftest {
8 - public static void main(String[] argv) {
9 - String minVersion="1.8.4";
10 - int[] vers = new int[3];
11 - try { H5.H5get_libversion(vers); }
12 - catch (Throwable ex) {System.exit(-1);}
13 - String ver = vers[0] + "."+ vers[1] +"."+vers[2];
15 - System.out.println(ver);
16 - if (minVersion.compareTo(ver) > 0) {
17 - System.exit(-1);
18 - }
20 - }
22 EOF
24 CLASSPATH=$ac_java_classpath