diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-14 00:40:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-14 00:40:58 +0000 |
commit | 1a86934e09d65ff1e674beb4190faefe2d17ddf6 (patch) | |
tree | e0027aa2aae019cd908f4f1895a7641f10ba3a50 /configure | |
parent | 626fe978e1824262c6a88b9b2f777fb41419d3d1 (diff) |
NetBSD has no strtonum so needs compat/.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |