1 dnl Process this file with autoconf to produce a configure script.
4 AC_CONFIG_HEADER(config.h)
6 VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec)
16 AC_CHECK_HEADERS(sys/select.h alloca.h)
18 AC_ARG_WITH(gpm-support, [ --with-gpm-support Compile with GPM support])
20 if test "x$with_gpm_support" = "xyes"; then
21 AC_DEFINE(USE_GPM, 1, [Define to 1 if GPM support is enabled])