diff --git a/configure.ac b/configure.ac index 7a65794..7fa23a6 100644 --- a/configure.ac +++ b/configure.ac @@ -68,8 +68,7 @@ AC_FUNC_STRNLEN AC_CHECK_FUNCS([atexit dup2 ftruncate getcwd gettimeofday localtime_r memchr memset mkdir rmdir setlocale socket strcasecmp strchr strdup strerror strncasecmp strndup strrchr strspn strstr strtol strtoul], , [AC_MSG_FAILURE([cannot find the $ac_func function, which i3lock requires])]) AC_CHECK_FUNCS([explicit_bzero]) -# Checks for libraries. - +# Check for libraries AC_SEARCH_LIBS([floor], [m], , [AC_MSG_FAILURE([cannot find the required floor() function despite trying to link with -lm])]) # libev does not ship with a pkg-config file :(. diff --git a/pam/i3lock b/pam/i3lock index 4945139..52716ec 100644 --- a/pam/i3lock +++ b/pam/i3lock @@ -1,7 +1,8 @@ # -# PAM configuration file for the i3lock-color screen locker. By default, it includes -# the 'system-auth' configuration file (see /etc/pam.d/system-auth) for Arch and Gentoo -# and 'login' for Debian. Note that vanilla i3lock upstream uses 'login' instead. +# PAM configuration file for the i3lock-color screen locker. By default, it +# includes the 'system-auth' configuration file (see /etc/pam.d/system-auth) +# for Arch and Gentoo and 'login' for Debian. Note that upstream uses only +# 'login', which breaks on Arch and Gentoo. # #auth include system-auth # For Arch/Gentoo