forked from pool/util-linux
17 lines
686 B
Diff
17 lines
686 B
Diff
Index: util-linux-ng-2.12r+git20070530/configure.ac
|
|
===================================================================
|
|
--- util-linux-ng-2.12r+git20070530.orig/configure.ac
|
|
+++ util-linux-ng-2.12r+git20070530/configure.ac
|
|
@@ -107,8 +107,9 @@ fi
|
|
have_ncurses=no
|
|
AC_CHECK_HEADERS([ncurses.h ncurses/ncurses.h], [have_ncurses=yes])
|
|
case $have_ncurses in
|
|
-yes) AC_MSG_NOTICE([you have ncurses]);;
|
|
-no) AC_MSG_NOTICE([you do not have ncurses]);;
|
|
+ yes) AC_MSG_NOTICE([you have ncurses])
|
|
+ AC_DEFINE([HAVE_NCURSES],, [define this if you have libncurses]);;
|
|
+ no) AC_MSG_NOTICE([you do not have ncurses]);;
|
|
esac
|
|
AM_CONDITIONAL(HAVE_NCURSES, test x$have_ncurses = xyes)
|
|
|