fix --enable-dnssrv (ITS#3641), and minor cleanup

This commit is contained in:
Pierangelo Masarati 2005-04-08 18:46:18 +00:00
parent 111deb128e
commit 96878dbb6b

View File

@ -242,8 +242,8 @@ OL_ARG_ENABLE(sql,[ --enable-sql enable sql backend no|yes|mod],
dnl ---------------------------------------------------------------- dnl ----------------------------------------------------------------
dnl SLAPD Overlay Options dnl SLAPD Overlay Options
Overlays="denyop dyngroup dynlist glue lastmod ppolicy proxycache rwm \ Overlays="denyop dyngroup dynlist glue lastmod ppolicy proxycache \
refint syncprov translucent unique" refint rwm syncprov translucent unique"
AC_ARG_WITH(xxslapoverlays,[ AC_ARG_WITH(xxslapoverlays,[
SLAPD Overlay Options:]) SLAPD Overlay Options:])
@ -979,7 +979,7 @@ if test "$ol_cv_lib_resolver" != no ; then
[define if you have res_query()]) [define if you have res_query()])
if test "$ol_enable_dnssrv" != no ; then if test "$ol_enable_dnssrv" != no ; then
ol_link_dnssrv=yes; ol_link_dnssrv=yes
fi fi
if test "$ol_cv_lib_resolver" != yes ; then if test "$ol_cv_lib_resolver" != yes ; then
@ -987,8 +987,10 @@ if test "$ol_cv_lib_resolver" != no ; then
fi fi
fi fi
if test "$ol_enable_dnssrv" = yes -a "$ol_link_dnssrv" = no ; then if test "$ol_enable_dnssrv" = yes -o "$ol_enable_dnssrv" = mod ; then
if test "$ol_link_dnssrv" = no ; then
AC_MSG_ERROR([DNSSRV requires res_query()]) AC_MSG_ERROR([DNSSRV requires res_query()])
fi
else else
ol_enable_dnssrv=no ol_enable_dnssrv=no
fi fi