History

kbuild: use getopt_long(), not its _only() variant

NetBSD lacks getopt_long_only() whereas getopt_long() works just fine.

Arnaud Lacombe committed 16 years ago

Commit c94d3fb1 parent 9ba95681 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/conf.c+1−1
@@ -466,7 +466,7 @@ int main(int ac, char **av) · 465 unmodified lines
466 bindtextdomain(PACKAGE, LOCALEDIR);466 bindtextdomain(PACKAGE, LOCALEDIR);
467 textdomain(PACKAGE);467 textdomain(PACKAGE);
468 468
469 while ((opt = getopt_long_only(ac, av, "", long_opts, NULL)) != -1) {469 while ((opt = getopt_long(ac, av, "", long_opts, NULL)) != -1) {
470 input_mode = (enum input_mode)opt;470 input_mode = (enum input_mode)opt;
471 switch (opt) {471 switch (opt) {
472 case silentoldconfig:472 case silentoldconfig: