Don't build gtk-launch when gio-unix is not available

https://bugzilla.gnome.org/show_bug.cgi?id=682824
This commit is contained in:
Erik van Pienbroek 2013-01-27 15:14:35 +01:00 committed by Matthias Clasen
parent e335a3fd31
commit 9a1235bf0d
2 changed files with 5 additions and 3 deletions

View File

@ -1238,6 +1238,7 @@ if test "$have_gio_unix" = "yes"; then
else
GDK_GIO_PACKAGE=gio-2.0
fi
AM_CONDITIONAL(HAVE_GIO_UNIX, test "$have_gio_unix" = "yes")
# Check for Pango flags

View File

@ -1306,9 +1306,7 @@ endif
#
# Installed tools
#
bin_PROGRAMS = \
gtk-query-immodules-3.0 \
gtk-launch
bin_PROGRAMS = gtk-query-immodules-3.0
if BUILD_ICON_CACHE
bin_PROGRAMS += gtk-update-icon-cache
@ -1355,8 +1353,11 @@ gtk_update_icon_cache_LDADD = $(GDK_PIXBUF_LIBS)
gtk_update_icon_cache_SOURCES = updateiconcache.c
endif
if HAVE_GIO_UNIX
bin_PROGRAMS += gtk-launch
gtk_launch_LDADD = $(LDADDS)
gtk_launch_SOURCES = gtk-launch.c
endif
.PHONY: files test test-debug