]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'libeconf' of https://github.com/thkukuk/util-linux
authorKarel Zak <kzak@redhat.com>
Mon, 25 May 2020 10:23:13 +0000 (12:23 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 25 May 2020 10:23:13 +0000 (12:23 +0200)
* 'libeconf' of https://github.com/thkukuk/util-linux:
  Adjust test output to pass test suite
  Add support for libeconf

1  2 
configure.ac
login-utils/Makemodule.am
login-utils/logindefs.c
login-utils/su-common.c

diff --cc configure.ac
Simple merge
index fac5bfc19940d820003746090a1cc5d2c9aa363f,22a6c867e8c9a0cf78488da294811d99ab9eb0fb..08977a3438de1c15286bf88bca32d742c0d959e3
@@@ -146,12 -161,12 +161,15 @@@ su_LDADD = $(LDADD) libcommon.la -lpa
  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
  
  
@@@ -168,12 -183,15 +186,18 @@@ runuser_LDADD = $(LDADD) libcommon.la -
  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
  
  
Simple merge
Simple merge