Ignore:
Timestamp:
Nov 28, 2011 1:21:34 PM (13 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/configure.in

    r2679 r2705  
    6060
    6161AC_CHECK_LIB(m, main,,AC_MSG_ERROR(librappture requires libm))
     62
     63AC_CHECK_LIB(ncurses, clrtoeol,,AC_MSG_ERROR([ncursers library missing?]))
     64AC_CHECK_HEADERS(ncurses.h,,AC_MSG_WARN(ncurses headers missing ?))
     65
    6266AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++))
    6367AC_CHECK_HEADERS(algorithm,,AC_MSG_WARN(STL classes missing ?))
     
    195199fi
    196200AC_MSG_RESULT([$VTKDIR])
     201
     202with_ncurses="yes"
     203AC_ARG_WITH(
     204    [ncurses],
     205    [AS_HELP_STRING([--with-ncurses[=DIR]],
     206        [location of ncurses @<:@default=yes@:>@])],
     207    [],
     208    [with_ncurses=yes])
     209
     210if test "$with_vtk" != "no" ; then
     211  if test "$with_vtk" = "yes" ; then
     212    for path in \
     213     $libdir \
     214     $prefix/lib \
     215     $exec_prefix/lib \
     216     /usr/lib
     217    do
     218      for vtk in $path/vtk-* ; do
     219        if test -d "${vtk}" ; then
     220          VTKDIR=${vtk}
     221        fi
     222      done
     223      if test "x${VTKDIR}" != "x" ; then
     224        break
     225      fi
     226    done
     227  fi
     228fi
    197229
    198230RP_LANG_MATLAB
Note: See TracChangeset for help on using the changeset viewer.