]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Should test for gethost*by*name_r, not for gethostname_r (which
authorGuido van Rossum <guido@python.org>
Mon, 15 Mar 1999 21:40:59 +0000 (21:40 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 15 Mar 1999 21:40:59 +0000 (21:40 +0000)
doesn't exist and doesn't make sense).

configure.in

index e5adc5afe44ad93cd8f9261683fe91b88b3648e8..5834bc68c2a268a9916beebce60684ceb81961a0 100644 (file)
@@ -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 \