From: sln Date: Wed, 23 Nov 2011 06:50:50 +0000 (+0000) Subject: VTK version 5.2 X-Git-Tag: CTH_V17a~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e50b4c218b176c69903a456e0c784c40de1a4b3b;p=modules%2Fgui.git VTK version 5.2 --- diff --git a/adm_local/unix/config_files/check_vtk.m4 b/adm_local/unix/config_files/check_vtk.m4 index e27f0e543..ea9aa2698 100644 --- a/adm_local/unix/config_files/check_vtk.m4 +++ b/adm_local/unix/config_files/check_vtk.m4 @@ -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