From: Guido van Rossum Date: Mon, 15 Mar 1999 21:40:59 +0000 (+0000) Subject: Should test for gethost*by*name_r, not for gethostname_r (which X-Git-Tag: v1.5.2c1~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caa69fdf4c3deecb766c7ce1f2519dc0472df7d9;p=thirdparty%2FPython%2Fcpython.git Should test for gethost*by*name_r, not for gethostname_r (which doesn't exist and doesn't make sense). --- diff --git a/configure.in b/configure.in index e5adc5afe44a..5834bc68c2a2 100644 --- a/configure.in +++ b/configure.in @@ -663,7 +663,7 @@ LIBS="$LIBS -ldl -ldld"], AC_MSG_RESULT(no)) # checks for library functions AC_CHECK_FUNCS(alarm chown clock dlopen execv flock fork \ fsync fdatasync ftime ftruncate \ - gethostname_r getpeername getpgrp getpid getpwent gettimeofday getwd \ + gethostbyname_r getpeername getpgrp getpid getpwent gettimeofday getwd \ kill link lstat mkfifo mktime nice pause plock pthread_init putenv readlink \ select setgid setlocale setuid setsid setpgid setpgrp setvbuf \ sigaction siginterrupt sigrelse strftime strptime symlink \