Issue 0020351: Compatibility vtk5.2 for check_vtk

This commit is contained in:
vsr 2009-05-18 09:04:12 +00:00
parent af7caec60f
commit 8b3091c353

View File

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