move AC_KRB_IPv6 to make sure it's performed before AC_BROKEN

(el_init): use new feature of AC_FIND_FUNC_NO_LIBS


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7507 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-12-04 19:48:35 +00:00
parent 9f38626ec7
commit 978b02b16f

View File

@@ -351,6 +351,7 @@ fi
AM_CONDITIONAL(have_err_h, test "$ac_cv_header_err_h" = yes)
AM_CONDITIONAL(have_fnmatch_h, test "$ac_cv_header_fnmatch_h" = yes)
AC_KRB_IPV6
dnl Checks for libraries.
@@ -725,8 +726,6 @@ AC_CHECK_VAR(
[#include <time.h>],
timezone)
AC_KRB_IPV6
AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>])
AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>])
@@ -779,10 +778,7 @@ fi
dnl readline
save_LIBS="$LIBS"
LIBS="$LIB_tgetent $LIBS"
AC_FIND_FUNC_NO_LIBS(readline, edit readline)
LIBS="$save_LIBS"
AC_FIND_FUNC_NO_LIBS(el_init, edit, [], [], [$LIB_tgetent])
ac_foo=no
if test "$with_readline" = yes; then
: