summaryrefslogtreecommitdiffabout
path: root/build-aux
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-06 22:57:27 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-06 22:57:27 (GMT)
commit366e821d28a007a0ca49b9deb97c6c9cea97f2b9 (patch) (side-by-side diff)
treef6fe2cbb59982a952a9383e8361e4cbe9922aa65 /build-aux
parent72b77743f20f909e83eacca3b47558d943ac2fcb (diff)
downloadgrecs-366e821d28a007a0ca49b9deb97c6c9cea97f2b9.tar.gz
grecs-366e821d28a007a0ca49b9deb97c6c9cea97f2b9.tar.bz2
Minor fix.
* build-aux/getopt.m4: Fixup cmdline_tree, if needed.
Diffstat (limited to 'build-aux') (more/less context) (ignore whitespace changes)
-rw-r--r--build-aux/getopt.m46
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;
+ }
}
>])

Return to:

Send suggestions and report system problems to the System administrator.