# HG changeset patch # User Mark Doliner # Date 1186375944 0 # Node ID 43b914fef77aa4e43ee178ab896854f8733cbc3a # Parent b68ced0ab472a18009ce9ffe552de6f8ada492a6 My version of automake seems to require that these if and endif statements appear at the beginning of the line. If not I get the following error at compile time: make[5]: Entering directory `/home/dude/code-pidgin-trunk/libpurple/protocols/bonjour' Makefile:1019: *** missing separator. Stop. make[5]: Leaving directory `/home/dude/code-pidgin-trunk/libpurple/protocols/bonjour' And the if and endif lines appear in Makefile, which they should not. diff -r b68ced0ab472 -r 43b914fef77a libpurple/protocols/bonjour/Makefile.am --- a/libpurple/protocols/bonjour/Makefile.am Mon Aug 06 01:46:07 2007 +0000 +++ b/libpurple/protocols/bonjour/Makefile.am Mon Aug 06 04:52:24 2007 +0000 @@ -22,9 +22,9 @@ if MDNS_AVAHI BONJOURSOURCES += mdns_avahi.c else - if MDNS_HOWL +if MDNS_HOWL BONJOURSOURCES += mdns_howl.c - endif +endif endif AM_CFLAGS = $(st) @@ -42,9 +42,9 @@ if MDNS_AVAHI libbonjour_a_LIBADD += $(AVAHI_LIBS) else - if MDNS_HOWL +if MDNS_HOWL libbonjour_a_LIBADD += $(HOWL_LIBS) - endif +endif endif else @@ -56,9 +56,9 @@ if MDNS_AVAHI libbonjour_la_LIBADD += $(AVAHI_LIBS) else - if MDNS_HOWL +if MDNS_HOWL libbonjour_la_LIBADD += $(HOWL_LIBS) - endif +endif endif endif @@ -74,8 +74,8 @@ if MDNS_AVAHI AM_CPPFLAGS += $(AVAHI_CFLAGS) else - if MDNS_HOWL +if MDNS_HOWL AM_CPPFLAGS += $(HOWL_CFLAGS) - endif +endif endif