# HG changeset patch # User David J. MacKenzie # Date 784415367 0 # Node ID 463fd155c78d271f5267ea1c49e089d02ff217b3 # Parent 2bf88bd23cbba021ed3c97204783b0a97e8298da Make h_errno check not use nested functions. diff -r 2bf88bd23cbb -r 463fd155c78d configure.in --- a/configure.in Wed Nov 09 20:56:17 1994 +0000 +++ b/configure.in Wed Nov 09 21:09:27 1994 +0000 @@ -1101,14 +1101,10 @@ # If netdb.h doesn't declare h_errno, we must declare it by hand. AC_MSG_CHECKING(whether netdb declarares h_errno) AC_TRY_LINK([#include ], -[int -foo () -{ - return h_errno; -} -], [AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_H_ERRNO)], - [AC_MSG_RESULT(no)]) + [return h_errno;], + [AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_H_ERRNO)], + [AC_MSG_RESULT(no)]) AC_FUNC_ALLOCA