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 #!/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` UNAME=`uname -s`
@ -160,8 +160,9 @@ EOF
#define HAVE_VSYSLOG #define HAVE_VSYSLOG
EOF EOF
cat <<EOF >>$CONFIG_MK cat <<EOF >>$CONFIG_MK
SRCS+= osdep-netbsd.c SRCS+= osdep-netbsd.c \
LIBS+= -lcrypt compat/strtonum.c
LIBS+= -lcrypt -lutil
CPPFLAGS+= -I/usr/pkg/include CPPFLAGS+= -I/usr/pkg/include
LDFLAGS+= -L/usr/pkg/lib LDFLAGS+= -L/usr/pkg/lib
EOF EOF