mirror of
https://github.com/profanity-im/profanity.git
synced 2025-04-22 03:32:49 -04:00
Added libx11 when --with-xscreensaver chosen
This commit is contained in:
parent
d20354968a
commit
78841f2ea3
@ -45,10 +45,15 @@ fi
|
|||||||
|
|
||||||
if test "x$with_xscreensaver" = xyes; then
|
if test "x$with_xscreensaver" = xyes; then
|
||||||
AC_CHECK_LIB([Xss], [main], [],
|
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
|
elif test "x$with_xscreensaver" = x; then
|
||||||
AC_CHECK_LIB([Xss], [main], [],
|
AC_CHECK_LIB([Xss], [main], [],
|
||||||
[AC_MSG_NOTICE([libXss not found, falling back to profanity auto-away])])
|
[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
|
fi
|
||||||
|
|
||||||
AC_CHECK_LIB([resolv], [main], [],
|
AC_CHECK_LIB([resolv], [main], [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user