diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-07 01:57:27 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-05-07 01:57:27 +0300 |
commit | 366e821d28a007a0ca49b9deb97c6c9cea97f2b9 (patch) | |
tree | f6fe2cbb59982a952a9383e8361e4cbe9922aa65 /build-aux/getopt.m4 | |
parent | 72b77743f20f909e83eacca3b47558d943ac2fcb (diff) | |
download | grecs-366e821d28a007a0ca49b9deb97c6c9cea97f2b9.tar.gz grecs-366e821d28a007a0ca49b9deb97c6c9cea97f2b9.tar.bz2 |
Minor fix.
* build-aux/getopt.m4: Fixup cmdline_tree, if needed.
Diffstat (limited to 'build-aux/getopt.m4')
-rw-r--r-- | build-aux/getopt.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build-aux/getopt.m4 b/build-aux/getopt.m4 index e38cfe9..b63baaf 100644 --- a/build-aux/getopt.m4 +++ b/build-aux/getopt.m4 @@ -284,6 +284,12 @@ define([<GETOPT>],[< exit(EX_USAGE); } >],[<$3 = optind;>]) + if (cmdline_tree) + { + struct grecs_node *rn = grecs_node_create(grecs_node_root, NULL); + rn->down = cmdline_tree; + cmdline_tree = rn; + } } >]) |