]> git.meshlink.io Git - catta/blobdiff - avahi-utils/Makefile.am
Allow storing the service type database as Solaris DBM file, alternatively to gdbm...
[catta] / avahi-utils / Makefile.am
index 61268d32cf49eb50c2bcb8637b65bbd7d5dba110..d684be1bbdfa77a653dba72761ca40ceeac18ef3 100644 (file)
@@ -36,6 +36,11 @@ avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
 avahi_browse_LDADD += -lgdbm
 endif
 
+if HAVE_DBM
+avahi_browse_SOURCES += stdb.h stdb.c
+avahi_browse_CFLAGS += -DDATABASE_FILE=\"$(pkgdatadir)/service-types.db\"
+endif
+
 avahi_resolve_SOURCES = avahi-resolve.c sigint.c sigint.h
 avahi_resolve_CFLAGS = $(AM_CFLAGS)
 avahi_resolve_LDADD = $(AM_LDADD) ../avahi-client/libavahi-client.la ../avahi-common/libavahi-common.la