summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2009-10-05 20:39:09 +0100
committerReuben Thomas <rrt@sc3d.org>2009-10-05 20:39:09 +0100
commit829469986653a9c461576f480a56b80b26acba73 (patch)
treecdfece5f3886ae034934718ba291028ee387c127
parenta07c630d7cd6495a8b188c68c44d0dcb725c83b8 (diff)
downloadautoconf-archive-829469986653a9c461576f480a56b80b26acba73.tar.gz
Fix incorrect setting of ax_cv_curses when curses was not found.
-rw-r--r--m4/ax_with_curses.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_with_curses.m4 b/m4/ax_with_curses.m4
index 4b27dc4..162ed06 100644
--- a/m4/ax_with_curses.m4
+++ b/m4/ax_with_curses.m4
@@ -96,8 +96,8 @@ AC_DEFUN([AX_WITH_CURSES],
then
AC_DEFINE([HAVE_NCURSES_H],[1],[Define if you have ncurses.h])
CURSES_LIB="-lncurses"
+ ax_cv_curses=yes
fi
- ax_cv_curses=yes
fi
if test "$ax_cv_curses" != yes -a "$with_ncurses" != yes -a "$with_ncursesw" != yes
then