getopt-posix: avoid spurious failure on Solaris
authorEric Blake <eblake@redhat.com>
Tue, 13 Apr 2010 17:00:29 +0000 (11:00 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 13 Apr 2010 22:31:45 +0000 (16:31 -0600)
commit3108b956964845104f2d1455af313849afca50ca
tree08ef047f92578a57f23943ec8aff4a933bd241ac
parent2abb98c455aa79ec24b55d17fac77995ca25c014
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>
ChangeLog
m4/getopt.m4