Changeset 4522 for branches/1.3/configure.in
- Timestamp:
- Jul 17, 2014, 12:10:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/configure.in
r4501 r4522 186 186 AC_ARG_WITH( 187 187 [vtk], 188 [AS_HELP_STRING([--with-vtk[= DIR]],189 [ location of vtk library @<:@default=yes@:>@])],188 [AS_HELP_STRING([--with-vtk[=version]], 189 [VTK library version @<:@default=6.0@:>@])], 190 190 [], 191 191 [with_vtk=yes]) 192 192 193 193 AC_MSG_CHECKING([for vtk]) 194 VTKDIR="" 195 194 VTK_VERSION=6.0 195 VTK_TCL_DIR="" 196 197 ENABLE_VTK= 196 198 if test "$with_vtk" != "no" ; then 197 if test "$with_vtk" = "yes" ; then 199 if test "$with_vtk" != "yes" ; then 200 VTK_VERSION=$with_vtk 201 fi 202 if test "x$with_vtk" != "x" ; then 203 ENABLE_VTK=yes 198 204 for path in \ 205 $libdir/tcltk \ 206 $exec_prefix/lib/tcltk \ 207 $prefix/lib/tcltk \ 199 208 $libdir \ 200 $prefix/lib/tcltk \201 209 $prefix/lib \ 202 210 $exec_prefix/lib \ 203 211 /usr/lib 204 212 do 205 for vtk in $path/vtk-* ; do 206 if test -d "${vtk}" ; then 207 VTKDIR=${vtk} 208 fi 209 done 210 if test "x${VTKDIR}" != "x" ; then 213 if test -d "$path/vtk-$VTK_VERSION" ; then 214 VTK_TCL_DIR="$path/vtk-$VTK_VERSION" 215 fi 216 if test "x${VTK_TCL_DIR}" != "x" ; then 211 217 break 212 218 fi 213 219 done 214 220 fi 215 fi 216 AC_MSG_RESULT([$VTKDIR]) 221 else 222 if test "${ENABLE_GUI}" = "yes" ; then 223 AC_MSG_WARN([VTK missing: Rappture GUI requires VTK for some features]) 224 fi 225 fi 226 AC_MSG_RESULT([$VTK_TCL_DIR]) 227 228 AC_ARG_ENABLE( 229 [vtkdicom], 230 [AS_HELP_STRING([--enable-vtkdicom], 231 [Use vtkDICOM package @<:@default=no@:>@])], 232 [], 233 [enable_vtkdicom=no]) 234 235 AC_MSG_CHECKING([for vtkDICOM]) 236 ENABLE_VTK_DICOM= 237 if test "$enable_vtkdicom" != "no" ; then 238 ENABLE_VTK_DICOM="yes" 239 fi 240 AC_MSG_RESULT([$enable_vtkdicom]) 217 241 218 242 RP_LANG_MATLAB … … 354 378 AC_SUBST(ENABLE_LANG) 355 379 AC_SUBST(ENABLE_GUI) 380 AC_SUBST(ENABLE_VTK) 381 AC_SUBST(ENABLE_VTK_DICOM) 356 382 AC_SUBST(FFMPEG) 357 383 AC_SUBST(HAVE_FFMPEG_LIBS) … … 434 460 AC_SUBST(TK_XLIBSW) 435 461 AC_SUBST(TK_VERSION) 436 AC_SUBST(VTKDIR) 462 AC_SUBST(VTK_TCL_DIR) 463 AC_SUBST(VTK_VERSION) 437 464 AC_SUBST(XSUBPP) 438 465
Note: See TracChangeset
for help on using the changeset viewer.