ekiga r7130 - branches/gnome-2-24



Author: dsandras
Date: Mon Sep 29 20:21:14 2008
New Revision: 7130
URL: http://svn.gnome.org/viewvc/ekiga?rev=7130&view=rev

Log:
Made libnotify optional (Fixes #553566).


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/configure.ac

Modified: branches/gnome-2-24/configure.ac
==============================================================================
--- branches/gnome-2-24/configure.ac	(original)
+++ branches/gnome-2-24/configure.ac	Mon Sep 29 20:21:14 2008
@@ -279,11 +279,13 @@
   AC_ARG_ENABLE(notify, [  --disable-notify			Disable libnotify support],,enable_notify=yes)
   
   if test "x$enable_notify" = "xyes"; then
-    PKG_CHECK_MODULES([NOTIFY], [libnotify], [found_notify=yes])
-    AC_SUBST(NOTIFY_CFLAGS)
-    AC_SUBST(NOTIFY_LIBS)
-    NOTIFY="enabled"
-    AC_DEFINE(HAVE_NOTIFY,1,[NOTIFY support])
+    PKG_CHECK_MODULES([NOTIFY], [libnotify], [found_notify=yes], foo=bar)
+    if test "x$found_notify" = "xyes"; then
+      AC_SUBST(NOTIFY_CFLAGS)
+      AC_SUBST(NOTIFY_LIBS)
+      NOTIFY="enabled"
+      AC_DEFINE(HAVE_NOTIFY,1,[NOTIFY support])
+    fi
   fi
 fi
 



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