Ignore:
Timestamp:
Mar 31, 2010, 9:17:51 AM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/configure.in

    r1643 r1680  
    2424
    2525AC_PROG_INSTALL
     26AC_PROG_INSTALL
     27AC_PROG_RANLIB
     28AC_PROG_LN_S
     29AC_PROG_MKDIR_P
    2630AC_PROG_MAKE_SET
    2731
     
    3034AC_PROG_CXX
    3135# Avoid g95
    32 AC_PROG_INSTALL
    33 AC_PROG_RANLIB
    34 AC_PROG_LN_S
    35 AC_PROG_MKDIR_P
    36 
    3736AC_PROG_F77([g77 gfortran f77 fort77 f90 xlf xlf90 fl32])
    3837
     
    169168AC_SUBST(TCL_INC_SPEC)
    170169AC_SUBST(TCL_LIB_SPEC)
     170
     171AC_ARG_WITH(
     172    [vtk],
     173    [AS_HELP_STRING([--with-vtk[=DIR]],
     174        [location of vtk library @<:@default=yes@:>@])],
     175    [with_vtk=$withval], [with_vtk=yes])
     176
     177AC_MSG_CHECKING([for vtk])
     178VTKDIR=""
     179
     180if test "$with_vtk" != "no" ; then
     181  if test "$with_vtk" = "yes" ; then
     182    for path in \
     183     $libdir \
     184     $prefix/lib \
     185     $exec_prefix/lib \
     186     /usr/lib
     187    do
     188      for vtk in $path/vtk-* ; do
     189        if test -d "${vtk}" ; then
     190          VTKDIR=${vtk}
     191        fi
     192      done
     193      if test "x${VTKDIR}" != "x" ; then
     194        break
     195      fi
     196    done
     197  fi
     198fi
     199AC_SUBST(VTKDIR)
     200AC_MSG_RESULT([$VTKDIR])
     201
    171202
    172203AC_ARG_WITH(
Note: See TracChangeset for help on using the changeset viewer.