summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 00:40:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 00:40:58 +0000
commit1a86934e09d65ff1e674beb4190faefe2d17ddf6 (patch)
treee0027aa2aae019cd908f4f1895a7641f10ba3a50 /configure
parent626fe978e1824262c6a88b9b2f777fb41419d3d1 (diff)
NetBSD has no strtonum so needs compat/.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 04d938b7..57c39d10 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.7 2009-05-14 00:35:53 nicm Exp $
+# $Id: configure,v 1.8 2009-05-14 00:40:58 nicm Exp $
UNAME=`uname -s`
@@ -160,8 +160,9 @@ EOF
#define HAVE_VSYSLOG
EOF
cat <<EOF >>$CONFIG_MK
-SRCS+= osdep-netbsd.c
-LIBS+= -lcrypt
+SRCS+= osdep-netbsd.c \
+ compat/strtonum.c
+LIBS+= -lcrypt -lutil
CPPFLAGS+= -I/usr/pkg/include
LDFLAGS+= -L/usr/pkg/lib
EOF