(other_args): Variable removed.
authorRoland McGrath <roland@redhat.com>
Fri, 9 Sep 1994 05:37:40 +0000 (05:37 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 9 Sep 1994 05:37:40 +0000 (05:37 +0000)
commitc1433e94956cff151e5ea12950776f4e081f15b6
treea3be8de9939299003f5d9f9fe3659e15117b728b
parente4a94e02106b9ca299ca03c19133b3dc486196ba
(other_args): Variable removed.
(goals, lastgoal): New static variables (moved from auto in main).
(main): Don't process OTHER_ARGS at all.
Don't set variable MAKEOVERRIDES at all; define MAKE to just $(MAKE_COMMAND).
(init_switches): Prepend a - (return in order) instead of a + (require order).
(decode_switches): Don't set OTHER_ARGS at all.
Grok '\0' return from getopt_long as non-option argument; try variable
definition and (if !ENV) enter goal targets here.
(decode_env_switches): Use allocated_variable_expand to store value.
Use find_next_token to simplify word-splitting loop.
Don't prepend a dash to uninterpreted value.
Instead, if split into only one word, try variable definition and failing
that prepend a dash to the word and pass it to decode_switches as a single arg.
main.c