summaryrefslogtreecommitdiffstats
path: root/mutt_curses.h
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2005-10-09 20:21:33 +0000
committerBrendan Cully <brendan@kublai.com>2005-10-09 20:21:33 +0000
commit82e4d2637814f94898023b8994c4aacff13a7a08 (patch)
tree11ed6dd7f0b060276e24b6406b9d256b03007a39 /mutt_curses.h
parent9c292d5e5fc58a4bc498c562a14b2e844b3174fb (diff)
Tweak ncurses autoconflation to check for ncurses/ncurses.h everywhere, not
just in /usr. With --with-curses=/usr/local, should Close: #2095.
Diffstat (limited to 'mutt_curses.h')
-rw-r--r--mutt_curses.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/mutt_curses.h b/mutt_curses.h
index e0e8b722..a1a2ad22 100644
--- a/mutt_curses.h
+++ b/mutt_curses.h
@@ -38,16 +38,16 @@
#define M_ENTER_C '\r'
#define M_ENTER_S "\r"
+#else /* USE_SLANG_CURSES */
+
+#if HAVE_NCURSESW_NCURSES_H
+# include <ncursesw/ncurses.h>
+#elif HAVE_NCURSES_NCURSES_H
+# include <ncurses/ncurses.h>
+#elif HAVE_NCURSES_H
+# include <ncurses.h>
#else
-
-#ifdef HAVE_NCURSESW_NCURSES_H
-#include <ncursesw/ncurses.h>
-#else
-#ifdef HAVE_NCURSES_H
-#include <ncurses.h>
-#else
-#include <curses.h>
-#endif
+# include <curses.h>
#endif
#define M_ENTER_C '\n'