link: Update documentation.
[gnulib.git] / m4 / hostent.m4
index 1d38678..1111041 100644 (file)
@@ -1,5 +1,5 @@
 # hostent.m4 serial 1
-dnl Copyright (C) 2008 Free Software Foundation, Inc.
+dnl Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -18,7 +18,7 @@ AC_DEFUN([gl_HOSTENT],
   gl_saved_libs="$LIBS"
   AC_SEARCH_LIBS([gethostbyname], [nsl network net],
     [if test "$ac_cv_search_gethostbyname" != "none required"; then
-       SERVENT_LIB="$ac_cv_search_gethostbyname"
+       HOSTENT_LIB="$ac_cv_search_gethostbyname"
      fi])
   LIBS="$gl_saved_libs"
   if test -z "$HOSTENT_LIB"; then