[gnome-user-share] build: Fix compilation with Bluetooth disabled



commit f5748b2606291aaea5327527457d8f53922cfab4
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jun 27 10:30:40 2014 +0200

    build: Fix compilation with Bluetooth disabled
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732306

 src/Makefile.am |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index b853c88..ffe5e1f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,10 @@
-libexec_PROGRAMS=                      \
+if USE_BLUETOOTH
+libexec_PROGRAMS =                     \
        gnome-user-share-webdav         \
        gnome-user-share-obexpush
+else
+libexec_PROGRAMS = gnome-user-share-webdav
+endif
 
 noinst_LTLIBRARIES = libuser-share-common.la
 libuser_share_common_la_SOURCES = user_share-common.c user_share-common.h
@@ -44,7 +48,7 @@ gnome_user_share_obexpush_SOURCES =   \
        obexpush.c                      \
        obexpush.h
 else
-EXTRA_DIST = obexpush.c obexpush.h
+EXTRA_DIST = user_share-obexpush.c obexpush.c obexpush.h
 endif
 
 gnome_user_share_obexpush_LDADD =      \


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