WIP utmp/wtmp

- renamed the two files, including the header was conflicting with official headers
- configure look for utmp/utmpx headers, wo we know which struct to use
- reworked the usage for linux, works mostly (last still showing 'gone' for loggued users)
This commit is contained in:
BLINDAUER Emmanuel
2017-09-26 21:06:44 +02:00
committed by matt335672
parent 56eec32b7e
commit bacda80492
5 changed files with 37 additions and 19 deletions
+2
View File
@@ -514,6 +514,8 @@ AC_CHECK_HEADER([X11/extensions/Xrandr.h], [],
[AC_MSG_ERROR([please install libxrandr-dev or libXrandr-devel])],
[#include <X11/Xlib.h>])
AC_CHECK_HEADERS(utmp.h utmpx.h)
CFLAGS="$save_CFLAGS"
# perform unit tests if libcheck and libmocka found