summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Felsing <dennis@felsin9.DE>2008-08-25 19:06:31 +0200
committerPeter Simons <simons@cryp.to>2008-08-25 19:06:31 +0200
commit4858c05d74321bebadcb0a5359aee93fbdcb2756 (patch)
treee5afe37658ea69a51d5b518912a0514e6eaddbd9
parentf55c26c7862225ac7890a43fc66e3e98f06d037c (diff)
downloadautoconf-archive-4858c05d74321bebadcb0a5359aee93fbdcb2756.tar.gz
MP_WITH_CURSES: fix recently introduced bug
-rw-r--r--README4
-rw-r--r--mp_with_curses.m46
2 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index ba4d3d4..3fc51c2 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ Autoconf Macro Archive
-------------------------------------------------------------------------------
:Macro Index By: Category_ ; Author_
-:Latest Release: autoconf-archive-2008-08-24.tar.bz2_
+:Latest Release: autoconf-archive-2008-08-25.tar.bz2_
:Change History: `ATOM Log`_ ; `RSS Feed`_
:GIT Repository: git_ clone http://git.cryp.to/autoconf-archive
@@ -93,7 +93,7 @@ Copyleft
.. _Automake: http://sources.redhat.com/automake/
-.. _autoconf-archive-2008-08-24.tar.bz2: http://autoconf-archive.cryp.to/autoconf-archive-2008-08-24.tar.bz2
+.. _autoconf-archive-2008-08-25.tar.bz2: http://autoconf-archive.cryp.to/autoconf-archive-2008-08-25.tar.bz2
.. _OSI: http://www.opensource.org/
diff --git a/mp_with_curses.m4 b/mp_with_curses.m4
index 7d40ade..f83a55a 100644
--- a/mp_with_curses.m4
+++ b/mp_with_curses.m4
@@ -20,7 +20,7 @@
#
# LAST MODIFICATION
#
-# 2008-04-12
+# 2008-08-25
#
# COPYLEFT
#
@@ -66,7 +66,7 @@ AC_DEFUN([MP_WITH_CURSES],
mp_cv_curses=yes, mp_cv_curses=no)])
if test "$mp_cv_curses" = yes
then
- AC_DEFINE([HAVE_CURSES_H],[],[Define if you have curses.h])
+ AC_DEFINE([HAVE_CURSES_H],[1],[Define if you have curses.h])
CURSES_LIB="-lcurses"
fi
fi
@@ -80,7 +80,7 @@ AC_DEFUN([MP_WITH_CURSES],
mp_cv_ncurses=yes, mp_cv_ncurses=no)])
if test "$mp_cv_ncurses" = yes
then
- AC_DEFINE([HAVE_NCURSES_H],[],[Define if you have ncurses.h])
+ AC_DEFINE([HAVE_NCURSES_H],[1],[Define if you have ncurses.h])
CURSES_LIB="-lncurses"
fi
fi