Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
BitchX
GitHub Repository: BitchX/BitchX1.3
Path: blob/master/contrib/BitchX-configure.patch
1069 views
1
diff -ru BitchX/configure.in BitchX.AX/configure.in
2
--- BitchX/configure.in Tue Jan 4 07:43:35 2000
3
+++ BitchX.AX/configure.in Wed Jan 19 17:54:30 2000
4
@@ -290,6 +290,15 @@
5
6
if test x"$blahhack" = x"1"; then
7
blahhack=0
8
+ AC_MSG_CHECKING(for tputs in ncurses/termcap.h)
9
+ AC_EGREP_CPP([tputs( | |\()],[#include <ncurses/termcap.h>
10
+ ], [ AC_DEFINE(HAVE_TERMCAP_H)
11
+ AC_MSG_RESULT(yes)
12
+ havetputs=1 AC_CHECK_HEADER(ncurses/termcap.h)], blahhack=1; AC_MSG_RESULT(no))
13
+ fi
14
+
15
+ if test x"$blahhack" = x"1"; then
16
+ blahhack=0
17
AC_MSG_CHECKING(for tputs in curses.h)
18
AC_EGREP_CPP([tputs( | |\()],[#include <curses.h>
19
], [ AC_DEFINE(USING_CURSES)
20
21