vswitchd: Build ovs-brcompatd only on Linux systems.
authorBen Pfaff <blp@nicira.com>
Wed, 26 May 2010 17:35:20 +0000 (10:35 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 26 May 2010 22:36:58 +0000 (15:36 -0700)
This feature is Linux-specific.

vswitchd/automake.mk

index 2cff64bc05e0bafe0d624a6844d8538865ff0ad8..8067159cf374bcb9f0ca378823a2e47f29fe2f2d 100644 (file)
@@ -1,4 +1,4 @@
-sbin_PROGRAMS += vswitchd/ovs-vswitchd vswitchd/ovs-brcompatd
+sbin_PROGRAMS += vswitchd/ovs-vswitchd
 man_MANS += \
        vswitchd/ovs-vswitchd.8 \
        vswitchd/ovs-brcompatd.8
@@ -21,17 +21,17 @@ vswitchd_ovs_vswitchd_LDADD = \
        lib/libsflow.a \
        lib/libopenvswitch.a \
        $(SSL_LIBS)
+EXTRA_DIST += vswitchd/ovs-vswitchd.8.in
 
+if HAVE_NETLINK
+sbin_PROGRAMS += vswitchd/ovs-brcompatd
 vswitchd_ovs_brcompatd_SOURCES = \
        vswitchd/ovs-brcompatd.c \
        vswitchd/vswitch-idl.c \
        vswitchd/vswitch-idl.h
-
 vswitchd_ovs_brcompatd_LDADD = lib/libopenvswitch.a $(SSL_LIBS)
-
-EXTRA_DIST += \
-       vswitchd/ovs-vswitchd.8.in \
-       vswitchd/ovs-brcompatd.8.in
+endif
+EXTRA_DIST += vswitchd/ovs-brcompatd.8.in
 
 # vswitch schema and IDL
 OVSIDL_BUILT += \