getopt: more portable argv creation
authorEric Blake <eblake@redhat.com>
Thu, 7 Jul 2011 22:10:30 +0000 (16:10 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 7 Jul 2011 22:10:30 +0000 (16:10 -0600)
commitd5d252637037181eee5d0e5faf6ff52c1cad8bda
tree50779a3de5e35b89435f864d631fc276740e56c7
parent56005a21e8f9f434212a19dcb628c6d3b179fd08
getopt: more portable argv creation

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADRS): Rather than casting away
const, use char arrays rather than strings.
Suggested by Paul Eggert.

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