mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:16:21 +00:00
Added libx11 when --with-xscreensaver chosen
This commit is contained in:
@@ -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], [],
|
||||
|
||||
Reference in New Issue
Block a user