[PATCH] Fix xscrensaver detection



Hello,

building desktop-data-model without libXScrnSaver-devel installed
results in undefined references.
Looks like the configure check is incorrect, attached patch fixes it.

Marco
Index: configure.ac
===================================================================
--- configure.ac	(revision 7264)
+++ configure.ac	(working copy)
@@ -278,7 +278,7 @@
     CFLAGS="$hippo_save_CFLAGS"
     LIBS="$hippo_save_LIBS"
 
-    if test "x$with_maemo" != xno ; then        
+    if test "x$with_maemo" != xyes ; then        
         if ! $have_xscreensaver ; then
             AC_MSG_ERROR([XScreenSaver extension is required - X11/extensions/scnsaver.h, libXss.so])
         fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]