You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/xstow/files/xstow-1.0.1-ncurses.patch

28 lines
431 B

--- a/configure.ac
+++ b/configure.ac
@@ -91,11 +91,12 @@
AC_MSG_RESULT(disabled)
support_curses=0
else
+ AC_MSG_RESULT(enabled)
support_curses=1
fi
],
- [
- AC_MSG_RESULT(enabled)
+ [])
+if test $support_curses -eq 1; then
AC_CHECK_HEADER([curses.h],
[
# test which libraray to use
@@ -154,8 +155,7 @@
[
support_curses=0
])
- ])
-
+fi
NO_STL_SSTREAM=0
NO_STL_STRSTREAM=0