blob: b7c83189b7f6101a5ddd79ad23f21db5722c0c2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
AC_INIT()
AM_INIT_AUTOMAKE(%{APPNAMELC},%{VERSION})
AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADER([ncurses.h], [],
AC_MSG_ERROR([Couldn't find ncurses headers.]))
AC_CHECK_LIB(ncurses, refresh, , AC_ERROR([Couldn't find ncurses library]), -lncurses, -ldl)
AC_LANG_RESTORE
AC_OUTPUT(Makefile src/Makefile)
|