From 55f7dcb690bcbdf6bca6568e0d9aacb2456811a5 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Mon, 17 Oct 2005 20:41:59 +0000 Subject: * autotools magic for PF_ROUTE (not the real thing yet). git-svn-id: file:///home/lennart/svn/public/avahi/trunk@802 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/Makefile.am | 5 +++++ avahi-core/iface.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'avahi-core') diff --git a/avahi-core/Makefile.am b/avahi-core/Makefile.am index 1a78368..95505b8 100644 --- a/avahi-core/Makefile.am +++ b/avahi-core/Makefile.am @@ -80,6 +80,11 @@ if HAVE_NETLINK libavahi_core_la_SOURCES += \ iface-linux.c iface-linux.h \ netlink.c netlink.h +else +if HAVE_PF_ROUTE +libavahi_core_la_SOURCES += \ + iface-pfroute.c iface-pfroute.h +endif endif libavahi_core_la_CFLAGS = $(AM_CFLAGS) diff --git a/avahi-core/iface.h b/avahi-core/iface.h index 76b3540..14d0195 100644 --- a/avahi-core/iface.h +++ b/avahi-core/iface.h @@ -42,6 +42,8 @@ typedef struct AvahiHwInterface AvahiHwInterface; #ifdef HAVE_NETLINK #include "iface-linux.h" +#elif defined(HAVE_PF_ROUTE) +#include "iface-pfroute.h" #else #error "No network configuration notification system available" #endif -- cgit