Mercurial > emacs
diff configure.in @ 9875:463fd155c78d
Make h_errno check not use nested functions.
author | David J. MacKenzie <djm@gnu.org> |
---|---|
date | Wed, 09 Nov 1994 21:09:27 +0000 |
parents | 5be536b91960 |
children | 74814eb19d67 |
line wrap: on
line diff
--- 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 <netdb.h>], -[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