[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"])
])
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
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