The following commit has been merged in the master branch:
commit e338748e9ff28ab7921a110fd71ec71882bbc3dd
Author: Cyril Brulebois <[email protected]>
Date: Sat Oct 23 10:00:46 2010 +0200
build: Break if ncurses is requested but unavailable
If building dselect is requested (the default), ncurses is requested
through DPKG_LIB_CURSES, but if it isn't found, only AC_MSG_WARN is
used, leading to a successful configure and a failure to build
dselect/*. Use AC_MSG_ERROR instead to make configure bail out.
Reported-by: Michael Schmidt <[email protected]>
Signed-off-by: Guillem Jover <[email protected]>
diff --git a/m4/dpkg-libs.m4 b/m4/dpkg-libs.m4
index 50ff5ff..f82eb87 100644
--- a/m4/dpkg-libs.m4
+++ b/m4/dpkg-libs.m4
@@ -96,7 +96,7 @@ AC_CHECK_LIB([ncurses], [initscr],
[CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"],
[AC_CHECK_LIB([curses], [initscr],
[CURSES_LIBS="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"],
- [AC_MSG_WARN([no curses library found])])])])
+ [AC_MSG_ERROR([no curses library found])])])])
])# DPKG_CHECK_LIB_CURSES_NARROW
# DPKG_LIB_CURSES
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]