From 1a86934e09d65ff1e674beb4190faefe2d17ddf6 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 14 May 2009 00:40:58 +0000 Subject: [PATCH] NetBSD has no strtonum so needs compat/. --- configure | 7 ++++--- 1 file 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 <>$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