From 8c950278b893ed3f3245bd943e1d170ad48aa7e6 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Thu, 15 Mar 2012 02:13:30 +1100 Subject: [PATCH] Update to the latest upstream version of ax_with_curses.m4 --- m4/ax_with_curses.m4 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/m4/ax_with_curses.m4 b/m4/ax_with_curses.m4 index 5399b85..33a37ac 100644 --- a/m4/ax_with_curses.m4 +++ b/m4/ax_with_curses.m4 @@ -127,15 +127,15 @@ # To use the HAVE_xxx_H preprocessor symbols, insert the following into # your system.h (or equivalent) header file: # -# #if defined(HAVE_NCURSESW_CURSES_H) +# #if defined HAVE_NCURSESW_CURSES_H # # include -# #elif defined(HAVE_NCURSESW_H) +# #elif defined HAVE_NCURSESW_H # # include -# #elif defined(HAVE_NCURSES_CURSES_H) +# #elif defined HAVE_NCURSES_CURSES_H # # include -# #elif defined(HAVE_NCURSES_H) +# #elif defined HAVE_NCURSES_H # # include -# #elif defined(HAVE_CURSES_H) +# #elif defined HAVE_CURSES_H # # include # #else # # error "SysV or X/Open-compatible Curses header file required" @@ -153,7 +153,7 @@ # # Copyright (c) 2009 Mark Pulford # Copyright (c) 2009 Damian Pietras -# Copyright (c) 2011 Reuben Thomas +# Copyright (c) 2012 Reuben Thomas # Copyright (c) 2011 John Zaitseff # # This program is free software: you can redistribute it and/or modify it @@ -182,7 +182,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 11 +#serial 13 AU_ALIAS([MP_WITH_CURSES], [AX_WITH_CURSES]) AC_DEFUN([AX_WITH_CURSES], [ @@ -394,7 +394,7 @@ AC_DEFUN([AX_WITH_CURSES], [ # Test for plain Curses (or if CURSES_LIB was set by user) AS_IF([test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno], [ - AS_IF([test "x$CURSES_LIB" = x], [ + AS_IF([test "x$CURSES_LIB" != x], [ LIBS="$ax_saved_LIBS $CURSES_LIB" ], [ LIBS="$ax_saved_LIBS -lcurses"