svn path=/trunk/; revision=4287
brackets for consistency with Postfix. Matthias Andree.
* Operating systems that do not support at least one of gethostbyname,
gethostbyname_r, getipnodebyname are no longer supported. Matthias Andree.
+* Fixes to --with-hesiod option. Sunil Shetye. (MA)
# INTERNAL CHANGES
* Switched to automake. Matthias Andree.
if test "$with_kerberos" != "yes" ; then
searchdirs="$with_kerberos"
else
- searchdirs="$with_kerberos5 /usr/kerberos /usr/kerberosIV /usr/athena/usr"
+ searchdirs="$with_kerberos5 /usr/kerberos /usr/kerberosIV /usr/athena /usr"
fi
with_kerberos=
ac_saveLDFLAGS="$LDFLAGS"
$1_libdir=$i/lib
fi
+ if ! test -f "${$1_include}/$5" -a -d "${$1_libdir}" ; then
+ continue
+ fi
+
OLD_LIBS=$LIBS
OLD_LDFLAGS=$LDFLAGS
OLD_CFLAGS=$CFLAGS
OLD_CPPFLAGS=$CPPFLAGS
- if test "${$1_libdir}" ; then
+ if test -n "${$1_libdir}" -a "${$1_libdir}" != /usr/lib ; then
LDFLAGS="$LDFLAGS -L${$1_libdir}"
fi
- if test "${$1_include}" ; then
+ if test -n "${$1_include}" -a "${$1_include}" != /usr/include ; then
CPPFLAGS="$CPPFLAGS -I${$1_include}"
- CFLAGS="$CFLAGS -I${$1_include}"
fi
success=no