NetBSD has no strtonum so needs compat/.

This commit is contained in:
Nicholas Marriott 2009-05-14 00:40:58 +00:00
parent 626fe978e1
commit 1a86934e09

7
configure vendored
View File

@ -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