getaddrinfo: fix sh typo in gai_strerrorA decl checking
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 12 Aug 2011 07:18:19 +0000 (00:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 12 Aug 2011 07:19:25 +0000 (00:19 -0700)
commit513aefc6d7001728ad09ef645e3a3ce25d8d67f5
treede726e799f50a7b7048c9a726c85bbdc3474b0c9
parentd9c5af0679bed502b1f978f75cf8a4c41e104263
getaddrinfo: fix sh typo in gai_strerrorA decl checking

* m4/getaddrinfo.m4 (gl_GETADDRINFO): Fix typo in the generated
shell code: it contained a 'break' that was not in a loop.
Apparently the macro assumed that AC_CHECK_DECLS is implemenented
via a shell-language loop; this may have been true in old Autoconf
versions, but it's not true in Autoconf 2.68.  I found this bug
when testing coreutils git on Solaris 8, whose shell complains
about the syntax error.
ChangeLog
m4/getaddrinfo.m4