Fix portability problems with glibc 2.0, as reported in #449157.
diff --git a/configure.in b/configure.in
index aa27dd6..515bc1e 100644
--- a/configure.in
+++ b/configure.in
@@ -1236,7 +1236,7 @@
 # checks for library functions
 AC_CHECK_FUNCS(alarm chown clock confstr ctermid ctermid_r execv \
  flock fork fsync fdatasync fpathconf ftime ftruncate \
- getgroups getlogin getpeername getpid getpwent getwd \
+ gai_strerror getgroups getlogin getpeername getpid getpwent getwd \
  hstrerror inet_pton kill link lstat mkfifo mktime mremap \
  nice pathconf pause plock poll pthread_init \
  putenv readlink \