]> Dogcows Code - chaz/openbox/commitdiff
make LIBSN optional
authorDana Jansens <danakj@orodu.net>
Sun, 18 May 2003 03:40:44 +0000 (03:40 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 18 May 2003 03:40:44 +0000 (03:40 +0000)
configure.ac

index c8174de39f0a1e488fb872379939380cbc9e4781..7510f239b6ea5900976df7614d700df8d80e1a9c 100644 (file)
@@ -55,12 +55,12 @@ PKG_CHECK_MODULES(XFT, [xft])
 AC_SUBST(XFT_CFLAGS)
 AC_SUBST(XFT_LIBS)
 
-PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0])
-AC_SUBST(LIBSN_CFLAGS)
-AC_SUBST(LIBSN_LIBS)
-if test "$LIBSN_LIBS"; then
-   AC_DEFINE(USE_LIBSN)
-fi
+PKG_CHECK_MODULES(LIBSN, [libstartup-notification-1.0],
+  AC_DEFINE(USE_LIBSN)
+  AC_SUBST(LIBSN_CFLAGS)
+  AC_SUBST(LIBSN_LIBS)
+  ,
+)
 
 # Check for X11 extensions
 X11_EXT_XKB
This page took 0.0245 seconds and 4 git commands to generate.