Replace getopt with equivalent code. This unbreaks bmake on DragonFly.
authorjoerg <joerg>
Sun, 2 Oct 2005 11:43:34 +0000 (11:43 +0000)
committerjoerg <joerg>
Sun, 2 Oct 2005 11:43:34 +0000 (11:43 +0000)
commitb58c6e12ab975c62194380ac92c8f8117f13da01
tree2fed963802a681b996e1987cab04162b7a9d5f71
parent83f02502ce7a1d5c6fa123f9dd22701d71d4880b
Replace getopt with equivalent code. This unbreaks bmake on DragonFly.

Obtained-from: src/usr.bin/make/main.c, rev 1.98
bootstrap/bmake/main.c