getopt-posix: avoid spurious failure on Solaris
authorEric Blake <eblake@redhat.com>
Tue, 13 Apr 2010 17:00:29 +0000 (11:00 -0600)
committerIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 16:04:41 +0000 (17:04 +0100)
commit1454b1f173f222b96e4104a04fe07b81ddbaee5b
tree84ac3d1c675e9613fda179461c029c3362847242
parent4cfde59ff300a6e4d0ae1a5180f8b6f53122e072
getopt-posix: avoid spurious failure on Solaris

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Check for getopt_clip as
an indicator that setting optind=1 is sufficient for reset.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 3108b956964845104f2d1455af313849afca50ca)
ChangeLog
m4/getopt.m4