blob: 7e88e621d91e06df2558d88420f001b60e15d291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- wulfware-2.6.0/configure.ac
+++ wulfware-2.6.0/configure.ac
@@ -61,6 +61,8 @@
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lcurses':
+AC_CHECK_LIB([tinfo], [main], TINFO_LIBS=-ltinfo, TINFO_LIBS=)
+AC_SUBST(TINFO_LIBS)
AC_CHECK_LIB([curses], [main])
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [main])
--- wulfware-2.6.0/wulfstat/Makefile.am
+++ wulfware-2.6.0/wulfstat/Makefile.am
@@ -63,7 +63,7 @@
LDFLAGS =
# Libraries
-LIBS = -L ../libwulf -lwulf -lpthread -lcurses -lxml2 -lm
+LIBS = -L ../libwulf -lwulf -lpthread -lcurses $(TINFO_LIBS) -lxml2 -lm
#========================================================================
# List of variants one can make. all is the default. We always
|