aclocal (mdw_CURSES): Fix definition of HAVE_CURSES.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 8 Feb 2006 00:19:39 +0000 (00:19 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 8 Feb 2006 00:19:39 +0000 (00:19 +0000)
The AC_DEFINE call was missing a value, and would unhelpfully have used
the help text instead.  Not what was wanted.

aclocal.glob

index 5cbf245..b983ce6 100644 (file)
@@ -47,7 +47,7 @@ dnl           AC_CHECK_FUNCS.
 
 AC_DEFUN([mdw_CURSES],
 [mdw_CHECK_MANYLIBS([newwin], [ncurses curses],
-                    [AC_DEFINE([HAVE_CURSES], 
+                    [AC_DEFINE([HAVE_CURSES], [1],
                                [Define if you have a curses library.])])
 if test $mdw_cv_lib_newwin != no; then
 AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h curses.h], [break])