aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-03-30 02:23:56 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-03-30 02:23:56 +0000
commit8ee3f773fafbc14fb43ece1b83676539825c188d (patch)
tree0c2844475e693545b4ceeb71a405b84f9586fe1a /configure.in
parent5699fd305c5feef0c0b7e354ffed6631bbb21fa3 (diff)
downloadautofs3-8ee3f773fafbc14fb43ece1b83676539825c188d.tar.gz
autofs3-8ee3f773fafbc14fb43ece1b83676539825c188d.tar.xz
autofs3-8ee3f773fafbc14fb43ece1b83676539825c188d.zip
Fixed hesiod autoconf bugs.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 13bc5da..9e3324e 100644
--- a/configure.in
+++ b/configure.in
@@ -38,14 +38,14 @@ AC_ARG_WITH(hesiod,
then
LIBHESIOD=""
else
- LDFLAGS="$LDFLAGS -L$withval"
+ LDFLAGS="$LDFLAGS -L${withval}/lib"
LIBHESIOD="-L${withval}/lib"
HESIOD_FLAGS="-I${withval}/include"
fi
)
HAVE_HESIOD=0
-AC_CHECK_LIB(hesiod, hes_resolve, HAVE_HESIOD=1 LIBHESIOD="$LIBHESIOD -lhesiod")
+AC_CHECK_LIB(hesiod, hes_resolve, HAVE_HESIOD=1 LIBHESIOD="$LIBHESIOD -lhesiod", , $LIBRESOLV)
AC_SUBST(HAVE_HESIOD)
AC_SUBST(LIBHESIOD)
AC_SUBST(HESIOD_FLAGS)