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,21 +131,25 @@ else
AC_MSG_RESULT(trying ${d})
VTKHOME="${d}"
break
else
fi
if test -f ${d}/include/vtk-5.0/vtkPlane.h ; then
AC_MSG_RESULT(trying ${d})
VTKHOME="${d}"
VTKSUFFIX="-5.0"
break
else
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
fi
fi
done
fi
fi