[vinagre] Fix non-functional PKG_CHECK_EXISTS checks



commit b5cc4aa1858232205868caee13ae1dda9433210e
Author: David King <amigadave amigadave com>
Date:   Tue Mar 8 17:07:24 2011 +0100

    Fix non-functional PKG_CHECK_EXISTS checks
    
    PKG_CHECK_EXISTS does not have the same first argument as
    PKG_CHECK_MODULES, so remove the first argument from all
    PKG_CHECK_EXISTS calls.

 configure.ac |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 55991e5..08aedf7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,8 +59,7 @@ AC_ARG_ENABLE([ssh],
     [Disable Secure Shell (SSH) support])])
 
 AS_IF([test "x$enable_ssh" != "xno"],
-  [PKG_CHECK_EXISTS([SSH],
-    [$SSH_DEPS],
+  [PKG_CHECK_EXISTS([$SSH_DEPS],
     [have_ssh=yes],
     [have_ssh=no])],
   [have_ssh=no])
@@ -81,8 +80,7 @@ AC_ARG_ENABLE([rdp],
     [Disable Remote Desktop Protocol (RDP) support])])
 
 AS_IF([test "x$enable_rdp" != "xno"],
-  [PKG_CHECK_EXISTS([RDP],
-    [$RDP_DEPS],
+  [PKG_CHECK_EXISTS([$RDP_DEPS],
     [have_rdp=yes],
     [have_rdp=no])],
   [have_rdp=no])
@@ -148,8 +146,7 @@ AC_ARG_WITH([avahi],
     [ignore avahi support and disable it])])
 
 AS_IF([test "x$with_avahi" != "xno"],
-  [PKG_CHECK_EXISTS([AVAHI],
-    [$AVAHI_DEPS],
+  [PKG_CHECK_EXISTS([$AVAHI_DEPS],
     [have_avahi=yes],
     [have_avahi=no])],
   [have_avahi=no])
@@ -170,8 +167,7 @@ AC_ARG_WITH([telepathy],
     [ignore the presence of telepathy and disable it])])
 
 AS_IF([test "x$with_telepathy" != "xno"],
-  [PKG_CHECK_EXISTS([TELEPATHY_GLIB],
-    [$TELEPATHY_GLIB_DEPS],
+  [PKG_CHECK_EXISTS([$TELEPATHY_GLIB_DEPS],
     [have_telepathy=yes],
     [have_telepathy=no])],
   [have_telepathy=no])



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