2024-05-03 19:37:37 +02:00
|
|
|
---
|
|
|
|
Makefile.am | 2 +-
|
|
|
|
configure.ac | 8 ++++++++
|
|
|
|
2 files changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
--- Makefile.am
|
2024-10-01 08:51:58 +02:00
|
|
|
+++ Makefile.am 2022-10-20 13:21:37.505517043 +0000
|
|
|
|
@@ -191,7 +191,7 @@ src_top_top_SOURCES += local/strverscmp.
|
2024-05-03 19:37:37 +02:00
|
|
|
endif
|
|
|
|
|
2024-10-01 08:51:58 +02:00
|
|
|
src_top_top_CFLAGS = @NCURSES_CFLAGS@
|
|
|
|
-src_top_top_LDADD = $(LDADD) @NCURSES_LIBS@ $(DL_LIB)
|
|
|
|
+src_top_top_LDADD = $(LDADD) @TOP_NCURSES_LIBS@ $(DL_LIB)
|
2024-05-03 19:37:37 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SKILL
|
|
|
|
--- configure.ac
|
2024-10-01 08:51:58 +02:00
|
|
|
+++ configure.ac 2022-10-20 13:23:50.707138810 +0000
|
|
|
|
@@ -281,6 +281,14 @@ fi
|
|
|
|
# else
|
|
|
|
# WATCH_NCURSES_LIBS="$NCURSES_LIBS"
|
|
|
|
# fi
|
|
|
|
+cf_tinfo=""
|
|
|
|
+AC_CHECK_LIB(tinfo, setupterm, [cf_tinfo="tinfo"])
|
|
|
|
+if test x$cf_tinfo = xtinfo ; then
|
|
|
|
+ TOP_NCURSES_LIBS="-ltinfo"
|
|
|
|
+else
|
|
|
|
+ TOP_NCURSES_LIBS="$NCURSES_LIBS"
|
|
|
|
+fi
|
2024-05-03 19:37:37 +02:00
|
|
|
+AC_SUBST([TOP_NCURSES_LIBS])
|
|
|
|
|
2024-10-01 08:51:58 +02:00
|
|
|
AC_ARG_WITH([systemd],
|
|
|
|
[AS_HELP_STRING([--with-systemd], [enable systemd support])],
|