make LIBSN optional
This commit is contained in:
parent
ac779e65ac
commit
599837b980
1 changed files with 6 additions and 6 deletions
12
configure.ac
12
configure.ac
|
@ -55,12 +55,12 @@ PKG_CHECK_MODULES(XFT, [xft])
|
||||||
AC_SUBST(XFT_CFLAGS)
|
AC_SUBST(XFT_CFLAGS)
|
||||||
AC_SUBST(XFT_LIBS)
|
AC_SUBST(XFT_LIBS)
|
||||||
|
|
||||||
PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0])
|
PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0],
|
||||||
AC_SUBST(LIBSN_CFLAGS)
|
AC_DEFINE(USE_LIBSN)
|
||||||
AC_SUBST(LIBSN_LIBS)
|
AC_SUBST(LIBSN_CFLAGS)
|
||||||
if test "$LIBSN_LIBS"; then
|
AC_SUBST(LIBSN_LIBS)
|
||||||
AC_DEFINE(USE_LIBSN)
|
,
|
||||||
fi
|
)
|
||||||
|
|
||||||
# Check for X11 extensions
|
# Check for X11 extensions
|
||||||
X11_EXT_XKB
|
X11_EXT_XKB
|
||||||
|
|
Loading…
Reference in a new issue