configure.in 439 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
AC_INIT(autogen.sh)
AM_INIT_AUTOMAKE(cdargs, 1.35)
AC_PROG_CXX
AC_STDC_HEADERS

dnl AC_CHECK_CURSES
dnl if test "$has_curses" = "false" ; then
dnl  AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.])
dnl fi

MP_WITH_CURSES
if test "x$CURSES_LIB" = "x" ; then
  AC_MSG_ERROR([Fatal error: couldn't find ncurses/curses.])
fi
AC_SUBST(CURSES_LIB)

AC_OUTPUT(Makefile contrib/Makefile doc/Makefile src/Makefile m4/Makefile cdargs.spec)