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