From: Lennart Poettering Date: Sat, 29 Oct 2005 10:38:21 +0000 (+0000) Subject: fix avahi-browse build when gdbm is not available X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=d8260fdf4310e135f301d0b8296aeffa02f5f494;p=catta fix avahi-browse build when gdbm is not available git-svn-id: file:///home/lennart/svn/public/avahi/trunk@906 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/avahi-utils/Makefile.am b/avahi-utils/Makefile.am index d3a1f39..c38efbf 100644 --- a/avahi-utils/Makefile.am +++ b/avahi-utils/Makefile.am @@ -90,11 +90,12 @@ bin_PROGRAMS = avahi-browse avahi_browse_SOURCES = avahi-browse.c sigint.c sigint.h avahi_browse_CFLAGS = $(AM_CFLAGS) -avahi_browse_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la -lgdbm +avahi_browse_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la if HAVE_GDBM avahi_browse_SOURCES += stdb.h stdb.c avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\" +avahi_browse_LDADD += -lgdbm endif endif