]> granicus.if.org Git - mutt/commitdiff
Revised version of Lars' patch.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 25 Apr 2000 18:39:01 +0000 (18:39 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 25 Apr 2000 18:39:01 +0000 (18:39 +0000)
acconfig.h
configure.in

index f9292f3a5efb3d8896cd261914a0b1eefeefe160..c7d118c249ca71ff361eab4744c48ea2b3eb5269 100644 (file)
 /* define when your system has the setrlimit function */
 #undef HAVE_SETRLIMIT
 
+@BOTTOM@
 /* Define if you have start_color, as a function or macro.  */
 #undef HAVE_START_COLOR
 
index a3c29ed5c6548c7d47fea2e03f4b5901ffd27f95..71dbe52c9450c32afe46c88c506a6e2349566d62 100644 (file)
@@ -198,16 +198,9 @@ main ()
        LIBS="$LIBS $MUTTLIBS"
        CF_CHECK_FUNCDECLS([#include <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_START_COLOR)
                AC_DEFINE(HAVE_COLOR)
        fi
-       test "$ac_cv_func_decl_typeahead" = yes && AC_DEFINE(HAVE_TYPEAHEAD)
-       test "$ac_cv_func_decl_bkgdset" = yes && AC_DEFINE(HAVE_BKGDSET)
-       test "$ac_cv_func_decl_curs_set" = yes && AC_DEFINE(HAVE_CURS_SET)
-       test "$ac_cv_func_decl_meta" = yes && AC_DEFINE(HAVE_META)
-       test "$ac_cv_func_decl_use_default_colors" = yes && AC_DEFINE(HAVE_USE_DEFAULT_COLORS)
        if test "$ac_cv_func_decl_resizeterm" = yes; then
-               AC_DEFINE(HAVE_RESIZETERM)
                MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS resize.o"
        fi
        LIBS="$old_LIBS"