* 'libeconf' of https://github.com/thkukuk/util-linux:
Adjust test output to pass test suite
Add support for libeconf
if HAVE_LINUXPAM
su_LDADD += -lpam_misc
endif
-if HAVE_UTIL
-su_LDADD += -lutil
+if HAVE_PTY
+su_SOURCES += lib/pty-session.c \
+ include/pty-session.h \
+ lib/monotonic.c
+su_LDADD += -lutil $(REALTIME_LIBS)
endif
+ if HAVE_ECONF
+ su_LDADD += -leconf
+ endif
endif # BUILD_SU
if HAVE_LINUXPAM
runuser_LDADD += -lpam_misc
endif
-if HAVE_UTIL
-runuser_LDADD += -lutil
+if HAVE_PTY
+runuser_SOURCES += lib/pty-session.c \
+ include/pty-session.h \
+ lib/monotonic.c
+runuser_LDADD += -lutil $(REALTIME_LIBS)
endif
+ if HAVE_ECONF
+ runuser_LDADD += -leconf
+ endif
+ if HAVE_VENDORDIR
+ runuser_CFLAGS = $(AM_CFLAGS) -DHAVE_VENDORDIR -DVENDORDIR=\"@vendordir@\"
+ endif
endif # BUILD_RUNUSER