[vinagre] Conditionally include headers for introspection



commit 24d02ff596bd877f0752b8b472c914219f962d65
Author: David King <amigadave amigadave com>
Date:   Mon Jun 6 22:14:57 2011 +0200

    Conditionally include headers for introspection
    
    Only use the Avahi and Telepathy headers in the introspection headers if
    those features are enabled.

 Makefile.am |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index c2936c7..d72c25c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -50,10 +50,7 @@ noinst_vinagreh_headers = \
 	vinagre/vinagre-plugin-dialog.h \
 	vinagre/vinagre-window-private.h \
 	vinagre/pty_open.h \
-	vinagre/vinagre-options.h \
-	vinagre/vinagre-mdns.h \
-	vinagre/vinagre-tubes-manager.h \
-	vinagre/vinagre-tube-handler.h
+	vinagre/vinagre-options.h
 
 vinagreh_HEADERS = \
 	vinagre/vinagre-bookmarks-entry.h \
@@ -120,6 +117,8 @@ libvinagre_la_SOURCES = \
 if VINAGRE_HAVE_AVAHI
 libvinagre_la_SOURCES += \
 	vinagre/vinagre-mdns.c
+noinst_vinagreh_headers += \
+	vinagre/vinagre-mdns.h
 endif
 
 libvinagre_la_LDFLAGS = -export-dynamic -no-undefined -export-symbols-regex "^[[^_]].*"
@@ -131,6 +130,9 @@ if VINAGRE_HAVE_TELEPATHY_GLIB
 handwritten_sources += \
 	vinagre/vinagre-tubes-manager.c \
 	vinagre/vinagre-tube-handler.c
+noinst_vinagreh_headers += \
+	vinagre/vinagre-tubes-manager.h \
+	vinagre/vinagre-tube-handler.h
 INTROSPECTION_GIR_INCLUDES += TelepathyGLib-0.12
 endif
 



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