summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2010-10-20 11:27:32 +0000
committerRoy Marples <roy@marples.name>2010-10-20 11:27:32 +0000
commite57b60bb2af31c071ae2777123b88a404bf1c680 (patch)
tree4614450906b1653587038bb4b5f66ad4c8e0186d /configure
parent443c8695407471b1669e1b0e25b5c993faeba064 (diff)
downloaddhcpcd-e57b60bb2af31c071ae2777123b88a404bf1c680.tar.xz
Add link_addr from NetBSD so that we compile on kFreeBSD as nothing
there seems to provide that function.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index b3783a01..eb73e277 100755
--- a/configure
+++ b/configure
@@ -232,6 +232,11 @@ linux)
echo "SRCS+= platform-linux.c" >>$CONFIG_MK
echo "LDADD+= -lrt" >>$CONFIG_MK
;;
+kfreebsd)
+ echo "SRCS+= bpf.c if-bsd.c platform-bsd.c" >>$CONFIG_MK
+ echo "COMPAT_SRCS+= compat/linkaddr.c" >>$CONFIG_MK
+ echo "LDADD+= -lrt" >>$CONFIG_MK
+ ;;
*)
echo "SRCS+= bpf.c if-bsd.c platform-bsd.c" >>$CONFIG_MK
;;