You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/cppcurseshello/app-configure.in

22 lines
371 B

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)