summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 00:17:37 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-14 00:17:37 +0000
commit1b70993207ca8e4104bf87a5a3affd9b481413de (patch)
tree492e24e409e65b8dd5603ceab05363d2e37ae303 /configure
parenta8fe667267d362832302fda29ffb4be1977cdcd3 (diff)
Move -lutil.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 152b8dc9..e0a14589 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: configure,v 1.4 2009-05-14 00:12:42 nicm Exp $
+# $Id: configure,v 1.5 2009-05-14 00:17:37 nicm Exp $
CONFIG_H=config.h
CONFIG_MK=config.mk
@@ -30,6 +30,7 @@ case `uname` in
EOF
cat <<EOF >>$CONFIG_MK
SRCS+= osdep-openbsd.c
+LIBS+= -lutil
EOF
;;
# ------------------------------------------------------------------------------
@@ -136,7 +137,7 @@ EOF
EOF
cat <<EOF >>$CONFIG_MK
SRCS+= osdep-freebsd.c
-LIBS+= -lcrypt
+LIBS+= -lcrypt -lutil
EOF
;;
# ------------------------------------------------------------------------------