X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=configure.ac;h=1187006b123ecdc953e61dbec7828af7ad5473ab;hp=42d180601911a38b1a421fb1e2886189792d1db2;hb=2d0afa54b647f32caa7a4bf3917e50f5d3e8c1e2;hpb=4679714d372c301752dd4b26f4e3fa45641be4b9 diff --git a/configure.ac b/configure.ac index 42d1806..1187006 100644 --- a/configure.ac +++ b/configure.ac @@ -135,7 +135,6 @@ main () AC_CHECK_LIB(termlib, main) fi AC_DEFINE(USE_SLANG_CURSES,1, [ Define if you compile with SLang instead of curses/ncurses. ]) - AC_DEFINE(HAVE_COLOR,1,[ Define if your curses library supports color. ]) dnl --- now that we've found it, check the link @@ -179,8 +178,8 @@ main () LIBS="$LIBS $MUTTLIBS" CF_CHECK_FUNCDECLS([#include <${cf_cv_ncurses_header-curses.h}>], [start_color typeahead bkgdset curs_set meta use_default_colors resizeterm]) - if test "$ac_cv_func_decl_start_color" = yes; then - AC_DEFINE(HAVE_COLOR,1,[ Define if your curses library supports color. ]) + if test "$ac_cv_func_decl_start_color" != yes; then + AC_MSG_ERROR([Your curses library does not supports color.]) fi LIBS="$old_LIBS" ]) @@ -742,6 +741,7 @@ AC_OUTPUT(Makefile apidoc/Makefile apidoc/doxygen.cfg doc/Makefile doc/instdoc.sh contrib/Makefile + tools/Makefile lib-lib/Makefile lib-mime/Makefile lib-crypt/Makefile