]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Issue 0020351: Compatibility vtk5.2 for check_vtk
authorvsr <vsr@opencascade.com>
Mon, 18 May 2009 09:04:12 +0000 (09:04 +0000)
committervsr <vsr@opencascade.com>
Mon, 18 May 2009 09:04:12 +0000 (09:04 +0000)
adm_local/unix/config_files/check_vtk.m4

index c70c5adda2d7de6e8c4ee0e5892211cc698776a8..0d571d7a8c26e5c5cd064ef02b411d029de60c9a 100644 (file)
@@ -131,20 +131,24 @@ else
         AC_MSG_RESULT(trying ${d})
         VTKHOME="${d}"
         break
-      else
-        if test -f ${d}/include/vtk-5.0/vtkPlane.h ; then
-          AC_MSG_RESULT(trying ${d})
-          VTKHOME="${d}"
-          VTKSUFFIX="-5.0"
-          break
-        else
-          if test -f ${d}/include/vtk/vtkPlane.h ; then
-            AC_MSG_RESULT(trying ${d})
-            VTKHOME="${d}"
-            VTKSUFFIX=""
-            break
-          fi
-        fi
+      fi
+      if test -f ${d}/include/vtk-5.0/vtkPlane.h ; then
+        AC_MSG_RESULT(trying ${d})
+        VTKHOME="${d}"
+        VTKSUFFIX="-5.0"
+        break
+      fi
+      if test -f ${d}/include/vtk-5.2/vtkPlane.h ; then
+        AC_MSG_RESULT(trying ${d})
+        VTKHOME="${d}"
+        VTKSUFFIX="-5.2"
+        break
+      fi
+      if test -f ${d}/include/vtk/vtkPlane.h ; then
+        AC_MSG_RESULT(trying ${d})
+        VTKHOME="${d}"
+        VTKSUFFIX=""
+        break
       fi
     done
   fi