1
0
Fork 0
screen/debian/patches/63-add-utempter-switch.patch
Daniel Baumann ea1ae6b476
Adding debian version 4.9.1-3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 15:19:58 +02:00

24 lines
635 B
Diff

Description: Add guarding commandline option around libutempter check
Author: Axel Beckert <abe@debian.org>
Forwarded: not-yet
Bug-Debian: https://bugs.debian.org/819781
--- a/configure.ac
+++ b/configure.ac
@@ -933,6 +933,8 @@
],
[int x = DEAD_PROCESS; pututline((struct utmp *)0); getutent();], AC_DEFINE(GETUTENT), LIBS="$olibs")
)
+AC_ARG_ENABLE(utempter, [ --enable-utempter enable utempter support])
+if test "$enable_utempter" = "yes"; then
AC_CHECKING(ut_host)
AC_TRY_COMPILE([
#include <time.h>
@@ -949,6 +951,7 @@
AC_DEFINE(HAVE_UTEMPTER)
LIBS="$LIBS -lutempter"
fi
+fi
dnl
dnl **** loadav ****