Changeset 4522
- Timestamp:
- Jul 17, 2014, 12:10:30 AM (10 years ago)
- Location:
- branches/1.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/configure
r4501 r4522 626 626 LIBOBJS 627 627 subdirs 628 VTKDIR 628 VTK_VERSION 629 VTK_TCL_DIR 629 630 TK_VERSION 630 631 TK_XLIBSW … … 684 685 HAVE_INTTYPES_H 685 686 HAVE_FFMPEG_LIBS 687 ENABLE_VTK_DICOM 688 ENABLE_VTK 686 689 ENABLE_GUI 687 690 ENABLE_LANG … … 822 825 with_tclsh 823 826 with_vtk 827 enable_vtkdicom 824 828 with_matlab 825 829 with_octave … … 1470 1474 --enable-gui build code related to the graphical user interface 1471 1475 [default=yes] 1476 --enable-vtkdicom Use vtkDICOM package [default=no] 1472 1477 --enable-shared build and link with shared libraries --enable-shared 1473 1478 --enable-symbols build with debugging symbols --disable-symbols … … 1479 1484 --with-ffmpeg=DIR location of ffmpeg [default=yes] 1480 1485 --with-tclsh=DIR location of tclsh [default=yes] 1481 --with-vtk= DIR location of vtk library [default=yes]1486 --with-vtk=version VTK library version [default=6.0] 1482 1487 --with-matlab=DIR location of matlab and mex compiler [default=yes] 1483 1488 --with-octave=DIR path of default octave compiler `mkoctfile' … … 7467 7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtk" >&5 7468 7473 $as_echo_n "checking for vtk... " >&6; } 7469 VTKDIR="" 7470 7474 VTK_VERSION=6.0 7475 VTK_TCL_DIR="" 7476 7477 ENABLE_VTK= 7471 7478 if test "$with_vtk" != "no" ; then 7472 if test "$with_vtk" = "yes" ; then 7479 if test "$with_vtk" != "yes" ; then 7480 VTK_VERSION=$with_vtk 7481 fi 7482 if test "x$with_vtk" != "x" ; then 7483 ENABLE_VTK=yes 7473 7484 for path in \ 7485 $libdir/tcltk \ 7486 $exec_prefix/lib/tcltk \ 7487 $prefix/lib/tcltk \ 7474 7488 $libdir \ 7475 $prefix/lib/tcltk \7476 7489 $prefix/lib \ 7477 7490 $exec_prefix/lib \ 7478 7491 /usr/lib 7479 7492 do 7480 for vtk in $path/vtk-* ; do 7481 if test -d "${vtk}" ; then 7482 VTKDIR=${vtk} 7483 fi 7484 done 7485 if test "x${VTKDIR}" != "x" ; then 7493 if test -d "$path/vtk-$VTK_VERSION" ; then 7494 VTK_TCL_DIR="$path/vtk-$VTK_VERSION" 7495 fi 7496 if test "x${VTK_TCL_DIR}" != "x" ; then 7486 7497 break 7487 7498 fi 7488 7499 done 7489 7500 fi 7490 fi 7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTKDIR" >&5 7492 $as_echo "$VTKDIR" >&6; } 7501 else 7502 if test "${ENABLE_GUI}" = "yes" ; then 7503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: VTK missing: Rappture GUI requires VTK for some features" >&5 7504 $as_echo "$as_me: WARNING: VTK missing: Rappture GUI requires VTK for some features" >&2;} 7505 fi 7506 fi 7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VTK_TCL_DIR" >&5 7508 $as_echo "$VTK_TCL_DIR" >&6; } 7509 7510 # Check whether --enable-vtkdicom was given. 7511 if test "${enable_vtkdicom+set}" = set; then : 7512 enableval=$enable_vtkdicom; 7513 else 7514 enable_vtkdicom=no 7515 fi 7516 7517 7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtkDICOM" >&5 7519 $as_echo_n "checking for vtkDICOM... " >&6; } 7520 ENABLE_VTK_DICOM= 7521 if test "$enable_vtkdicom" != "no" ; then 7522 ENABLE_VTK_DICOM="yes" 7523 fi 7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtkdicom" >&5 7525 $as_echo "$enable_vtkdicom" >&6; } 7493 7526 7494 7527 … … 10099 10132 10100 10133 10134 10135 10101 10136 MAKE=${make_command} 10137 10102 10138 10103 10139 -
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 -
branches/1.3/gui/apps/rappture-csh.env.in
r4518 r4522 21 21 set bindir=@bindir@ 22 22 set libdir=@libdir@ 23 set vtk_tcl_dir=@VTK_TCL_DIR@ 23 24 set python_version=@PYTHON_VERSION@ 24 25 set tcl_version=@TCL_VERSION@ … … 88 89 89 90 if ( $?TCLLIBPATH ) then 90 setenv TCLLIBPATH "${ libdir}/tcltk/vtk$TCLLIBPATH"91 setenv TCLLIBPATH "${vtk_tcl_dir} $TCLLIBPATH" 91 92 else 92 setenv TCLLIBPATH "${ libdir}/tcltk/vtk"93 setenv TCLLIBPATH "${vtk_tcl_dir}" 93 94 endif 94 95 -
branches/1.3/gui/apps/rappture.env.in
r4518 r4522 20 20 libdir=@libdir@ 21 21 bindir=@bindir@ 22 vtk_tcl_dir=@VTK_TCL_DIR@ 22 23 python_version=@PYTHON_VERSION@ 23 24 tcl_version=@TCL_VERSION@ … … 46 47 export PERL5LIB RUBYLIB PYTHONPATH 47 48 48 TCLLIBPATH="${ libdir}/tcltk/vtk$TCLLIBPATH"49 TCLLIBPATH="${vtk_tcl_dir} $TCLLIBPATH" 49 50 TCL_LIBRARY=${libdir}/tcl${tcl_version}:$TCL_LIBRARY 50 51 TK_LIBRARY=${libdir}/tk${tcl_version}:$TK_LIBRARY -
branches/1.3/gui/apps/rappture.use.in
r4518 r4522 11 11 libdir=@libdir@ 12 12 bindir=@bindir@ 13 vtk_tcl_dir=@VTK_TCL_DIR@ 13 14 python_version=@PYTHON_VERSION@ 14 15 tcl_version=@TCL_VERSION@ … … 28 29 prepend PYTHONPATH ${libdir}/python${python_version}/site-packages 29 30 30 prepend TCLLIBPATH ${ libdir}/tcltk/vtk31 prepend TCLLIBPATH ${vtk_tcl_dir} 31 32 prepend TCL_LIBRARY ${libdir}/tcl${tcl_version} 32 33 prepend TK_LIBRARY ${libdir}/tk${tcl_version}
Note: See TracChangeset
for help on using the changeset viewer.