comparison m4/hostent.m4 @ 10816:9e73391183bc

Oops, bad typo.
author Bruno Haible <bruno@clisp.org>
date Sun, 16 Nov 2008 15:04:26 +0100
parents ac4ac312cae0
children b5e42ef33b49
comparison
equal deleted inserted replaced
10815:9c30f79e8386 10816:9e73391183bc
16 AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H 16 AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H
17 HOSTENT_LIB= 17 HOSTENT_LIB=
18 gl_saved_libs="$LIBS" 18 gl_saved_libs="$LIBS"
19 AC_SEARCH_LIBS([gethostbyname], [nsl network net], 19 AC_SEARCH_LIBS([gethostbyname], [nsl network net],
20 [if test "$ac_cv_search_gethostbyname" != "none required"; then 20 [if test "$ac_cv_search_gethostbyname" != "none required"; then
21 SERVENT_LIB="$ac_cv_search_gethostbyname" 21 HOSTENT_LIB="$ac_cv_search_gethostbyname"
22 fi]) 22 fi])
23 LIBS="$gl_saved_libs" 23 LIBS="$gl_saved_libs"
24 if test -z "$HOSTENT_LIB"; then 24 if test -z "$HOSTENT_LIB"; then
25 AC_CHECK_FUNCS([gethostbyname], , [ 25 AC_CHECK_FUNCS([gethostbyname], , [
26 AC_CACHE_CHECK([for gethostbyname in winsock2.h and -lws2_32], 26 AC_CACHE_CHECK([for gethostbyname in winsock2.h and -lws2_32],