1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-09 21:30:42 +00:00

Added libx11 when --with-xscreensaver chosen

This commit is contained in:
James Booth 2013-01-05 19:58:24 +00:00
parent d20354968a
commit 78841f2ea3

View File

@ -45,10 +45,15 @@ fi
if test "x$with_xscreensaver" = xyes; then
AC_CHECK_LIB([Xss], [main], [],
[AC_MSG_ERROR([libXss is required for xscreensaver support])])
[AC_MSG_ERROR([libXss is required for x autoaway support])])
AC_CHECK_LIB([X11], [main], [],
[AC_MSG_NOTICE([libX11 is required for x autoaway support])])
elif test "x$with_xscreensaver" = x; then
AC_CHECK_LIB([Xss], [main], [],
[AC_MSG_NOTICE([libXss not found, falling back to profanity auto-away])])
AC_CHECK_LIB([X11], [main], [],
[AC_MSG_NOTICE([libX11 not found, falling back to profanity auto-away])])
fi
AC_CHECK_LIB([resolv], [main], [],