From d6c2f28d3156c29d8655b6ba75a807a77ce76f9b Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Mon, 25 Jun 2018 20:55:57 +0200 Subject: configure.ac: Remove logindevperm.h check. We no longer provide this, so we can safely remove it. --- configure.ac | 6 ------ 1 file changed, 6 deletions(-) diff --git a/configure.ac b/configure.ac index 8c77b43f..45102bcb 100644 --- a/configure.ac +++ b/configure.ac @@ -1171,12 +1171,6 @@ AC_SUBST(EXTRA_DYNAMIC_LIBS) AC_SUBST(EXTRA_SETUP_LIBS) AC_SUBST(EXTRA_TEST_LIBS) -# Check for Solaris logindevperm support -# -AC_CHECK_LIB(devinfo, di_devperm_login, [ - AC_DEFINE(HAVE_LOGINDEVPERM) - PAM_LIBS="$PAM_LIBS -ldevinfo" ]) - dnl --------------------------------------------------------------------------- dnl - Check for X Server location dnl --------------------------------------------------------------------------- -- cgit v1.2.1 From 77be7bb4789098aaaa1b0eee74da578d8532ef2e Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Mon, 25 Jun 2018 21:03:53 +0200 Subject: configure.ac: Remove Xft check. It's no longer used. --- configure.ac | 9 --------- 1 file changed, 9 deletions(-) diff --git a/configure.ac b/configure.ac index 45102bcb..bec377c8 100644 --- a/configure.ac +++ b/configure.ac @@ -786,15 +786,6 @@ fi AC_SUBST(LIBWRAP_LIBS) -dnl --------------------------------------------------------------------------- -dnl - Check for XFT2 (for gdm-settings-daemon) -dnl --------------------------------------------------------------------------- - -if $PKG_CONFIG --exists xft ; then - AC_DEFINE(HAVE_XFT2,,[Define if Xft functionality is available]) -fi - - dnl --------------------------------------------------------------------------- dnl - Check for Xinput dnl --------------------------------------------------------------------------- -- cgit v1.2.1 From d78232d09c99b3f704d5d94e57efe304277450ec Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Mon, 25 Jun 2018 21:08:28 +0200 Subject: configure.ac: Remove XInput check. It's no longer used anywhere, so we can safely remove it. --- configure.ac | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/configure.ac b/configure.ac index bec377c8..599a1ea2 100644 --- a/configure.ac +++ b/configure.ac @@ -786,37 +786,6 @@ fi AC_SUBST(LIBWRAP_LIBS) -dnl --------------------------------------------------------------------------- -dnl - Check for Xinput -dnl --------------------------------------------------------------------------- - -have_xinput= -AC_CHECK_LIB(Xi, XOpenDevice, XINPUT_LIBS=-lXi) -if test "x$XINPUT_LIBS" = x; then - save_LIBS="$LIBS" - for xinputpath in $x_libraries /usr/X11R6/lib /usr/openwin/lib; do - LIBS="-L$xinputpath -lXi" - if test x$os_solaris = xyes ; then - XINPUT_RPATH_FLAGS="-R$xinputpath" - fi - AC_MSG_CHECKING(for -lXi in $xinputpath) - AC_TRY_LINK([], [XOpenDevice()], [ - AC_MSG_RESULT(yes) - XINPUT_LIBS="$XINPUT_RPATH_FLAGS -L$xinputpath -lXi" - LIBS="$save_LIBS" - break],[AC_MSG_RESULT(no)]) - done - if test "x$XINPUT_LIBS" = x; then - AC_MSG_ERROR(Couldn't find the XInput library. Check config.log for details) - fi -fi -AC_CHECK_HEADER(X11/extensions/XInput.h, have_xinput=yes) -if test "x$have_xinput" = xyes; then - AC_DEFINE(HAVE_XINPUT, 1, [Define if have xinput]) - X_EXTRA_LIBS="$X_EXTRA_LIBS $XINPUT_LIBS" -fi - - dnl --------------------------------------------------------------------------- dnl - Check for Xinerama dnl --------------------------------------------------------------------------- -- cgit v1.2.1 From 20e658ab5d903d9f5ba0be24248c1cbf69360693 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Mon, 25 Jun 2018 21:12:57 +0200 Subject: configure.ac: remove setpenv check. It's nowhere used in the code, so we can safely remove it. --- configure.ac | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/configure.ac b/configure.ac index 599a1ea2..418728a3 100644 --- a/configure.ac +++ b/configure.ac @@ -537,24 +537,6 @@ AC_CHECK_LIB(keyutils, keyctl_read, [ AC_SUBST(KEYUTILS_LIBS) AC_SUBST(KEYUTILS_CFLAGS) -dnl Check if we can use the setpenv function to add specialvariable -dnl to the environment (such as the /etc/environment file under AIX) -AC_LINK_IFELSE([ - AC_LANG_PROGRAM([[ - #ifdef HAVE_USERSEC_H - #include - #endif - ]],[[ - return (setpenv(NULL, (PENV_INIT | PENV_NOEXEC), NULL, NULL)); - ]])], - can_use_setpenv=yes, - can_use_setpenv=no) - -if test x$can_use_setpenv = xyes ; then - AC_DEFINE(CAN_USE_SETPENV,,[Define this variable if the code to use - the setpenv function can be compiled and used]) -fi - # # Can we use BSD's setusercontext # -- cgit v1.2.1 From 2f9aaafcdf186746a2b8a3fce4fe28115871fd48 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Mon, 25 Jun 2018 21:15:47 +0200 Subject: configure.ac: Remove duplicate sys/sockio.h check. --- configure.ac | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.ac b/configure.ac index 418728a3..9ed1878b 100644 --- a/configure.ac +++ b/configure.ac @@ -330,7 +330,6 @@ AC_CHECK_TYPE(socklen_t,, #include #endif ) -AC_CHECK_HEADERS(sys/sockio.h) AC_CHECK_FUNCS([setresuid setenv unsetenv clearenv]) dnl checks needed for Darwin compatibility to linux **environ. -- cgit v1.2.1