]> git.meshlink.io Git - catta/blobdiff - avahi-discover-standalone/Makefile.am
l10n: Updates to Chinese (China) (zh_CN) translation
[catta] / avahi-discover-standalone / Makefile.am
index 2f3a4a11ad27c1c5a2155cb6cd218e7d536c640a..542aeae6f87ffc95ea238c7b92be197d4d580789 100644 (file)
@@ -17,9 +17,7 @@
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 # USA.
 
-AM_CFLAGS=\
-       -I$(top_srcdir) \
-       -DAVAHI_INTERFACES_DIR=\"$(interfacesdir)\"
+AM_CFLAGS=-I$(top_srcdir)
 
 interfaces = \
         avahi-discover.glade
@@ -28,6 +26,7 @@ interfaces = \
 AM_CFLAGS+='-DDEBUG_TRAP=__asm__("int $$3")'
 
 if HAVE_GTK
+if  HAVE_GLIB
 bin_PROGRAMS = \
        avahi-discover-standalone
 
@@ -36,7 +35,8 @@ avahi_discover_standalone_SOURCES = \
 
 avahi_discover_standalone_CFLAGS = \
        $(AM_CFLAGS) \
-       $(GLIB20_CFLAGS) $(GTK20_CFLAGS) $(GLADE20_CFLAGS)
+       $(GLIB20_CFLAGS) $(GTK20_CFLAGS) $(GLADE20_CFLAGS)\
+       -DAVAHI_INTERFACES_DIR=\"$(interfacesdir)\"
 
 avahi_discover_standalone_LDADD = \
        $(AM_LDADD) \
@@ -47,15 +47,13 @@ avahi_discover_standalone_LDADD = \
 
 interfaces_DATA = $(interfaces)
 
+endif  # HAVE_GLIB
 else 
 
-if HAVE_PYTHON 
-if HAVE_DBUS
+if HAVE_PYTHON_DBUS
 
-# We need this for the python version of avahi-discover
-interfaces_DATA = $(interfaces)
+interfaces_DATA =
 
-endif
 endif
 endif