]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
VTK version 5.2
authorsln <sln@opencascade.com>
Wed, 23 Nov 2011 06:50:50 +0000 (06:50 +0000)
committersln <sln@opencascade.com>
Wed, 23 Nov 2011 06:50:50 +0000 (06:50 +0000)
adm_local/unix/config_files/check_vtk.m4

index e27f0e5438f444551d9e53fb95a8eaaf6a98636e..ea9aa269834b84523f47d9e59be4b07a76c58813 100644 (file)
@@ -31,7 +31,7 @@ AC_DEFUN([OPTIONS_VTK], [
               [with_vtk=$withval], [with_vtk=""])
 
   AC_ARG_WITH([vtk-version],
-              [AC_HELP_STRING([--with-vtk-version], [VTK include directory name is vtk-suffix, e.g. vtk-5.0/. What is the suffix? (Default "yes" means taking from environment variable)])],
+              [AC_HELP_STRING([--with-vtk-version], [VTK include directory name is vtk-suffix, e.g. vtk-5.2/. What is the suffix? (Default "yes" means taking from environment variable)])],
               [vtk_suffix=$withval], [vtk_suffix="yes"])
 ])
 
@@ -102,7 +102,7 @@ if test "x$vtk_suffix" != "xyes" ; then
 else
   dnl in case user wrote --with-vtk-version=yes, get the suffix from env
   if test -z $VTKSUFFIX ; then
-    VTKSUFFIX="-5.0"
+    VTKSUFFIX="-5.2"
   fi
 fi
 
@@ -131,10 +131,10 @@ else
         VTKHOME="${d}"
         break
       else
-        if test -f ${d}/include/vtk-5.0/vtkPlane.h ; then
+        if test -f ${d}/include/vtk-5.2/vtkPlane.h ; then
           AC_MSG_RESULT(trying ${d})
           VTKHOME="${d}"
-          VTKSUFFIX="-5.0"
+          VTKSUFFIX="-5.2"
           break
         else
           if test -f ${d}/include/vtk/vtkPlane.h ; then