Package list squidview / debian/0.65-1 configure.in
debian/0.65-1

Tree @debian/0.65-1 (Download .tar.gz)

configure.in @debian/0.65-1raw · history · blame

AC_INIT(squidview.cpp)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(squidview,0.65)
AC_PROG_CXX
AC_PROG_INSTALL

AC_CHECK_HEADERS(curses.h signal.h sys/time.h sys/types.h sys/stat.h \
 unistd.h fcntl.h time.h stdlib.h math.h,, \
 AC_MSG_ERROR([header missing]))
AC_CHECK_LIB(ncurses, wgetch,,AC_MSG_ERROR([recent ncurses installed?]))

AC_LANG_CPLUSPLUS
AC_CHECK_HEADER(string,,AC_MSG_ERROR(C++ STL string class missing))
AC_CHECK_HEADER(vector,,AC_MSG_ERROR(C++ STL vector class missing))
AC_CHECK_HEADER(algorithm,,AC_MSG_ERROR(C++ STL algorithm class missing))

sv1="$prefix"
test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
sv2=`eval echo $datadir/$PACKAGE`
prefix="$sv1"
AC_DEFINE_UNQUOTED(SHAREDIR, "$sv2")
AC_OUTPUT(Makefile)