getopt: handle POSIXLY_CORRECT set but not exported
authorEric Blake <eblake@redhat.com>
Tue, 7 Sep 2010 18:10:38 +0000 (12:10 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 7 Sep 2010 23:08:34 +0000 (17:08 -0600)
commite89eb70d8a04eb23eceafe72215f0f757cc99906
tree726b4c426764436f8a21ce469423c1daa647b366
parent2ec275004253b6618ffc178aa32a67a6a75fa5fb
getopt: handle POSIXLY_CORRECT set but not exported

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Restore pre-existing
export state of POSIXLY_CORRECT.
Reported by Dustin J. Mitchell.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
m4/getopt.m4