summaryrefslogtreecommitdiffabout
path: root/build-aux
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-19 19:00:50 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-19 19:17:45 (GMT)
commitbcab0df28d7e87f99da29a32327787c25261273e (patch) (side-by-side diff)
tree1dd18f5394afdd0584947cc502c5d2050ba721ba /build-aux
parent304935a296997c9781688f08693ef70180dd24e4 (diff)
downloadgrecs-bcab0df28d7e87f99da29a32327787c25261273e.tar.gz
grecs-bcab0df28d7e87f99da29a32327787c25261273e.tar.bz2
Implement "path-style" (Xres-style) config parser.
* src/path-parser.c: New file. * src/format.c (grecs_format_node): Attempt to print value only if the node is grecs_node_stmt. * src/grecs.h (grecs_path_parser): New proto. (grecs_node_from_path_locus): New proto. * src/lookup.c (grecs_node_from_path_locus): New function. * src/Make.am (GRECS_SRC): Add path-parser.c. * build-aux/getopt.m4: Implement print_help_hook.
Diffstat (limited to 'build-aux') (more/less context) (ignore whitespace changes)
-rw-r--r--build-aux/getopt.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/build-aux/getopt.m4 b/build-aux/getopt.m4
index 83a1e35..93f6479 100644
--- a/build-aux/getopt.m4
+++ b/build-aux/getopt.m4
@@ -401,6 +401,8 @@ sort_opthelp (void)
}
}
+void (*print_help_hook) (FILE *stream);
+
void
print_help (void)
{
@@ -477,6 +479,9 @@ dnl **************************************************************************
putchar ('\n');
}
+ if (print_help_hook)
+ print_help_hook (stdout);
+
/* TRANSLATORS: The placeholder indicates the bug-reporting address
for this package. Please add _another line_ saying
"Report translation bugs to <...>\n" with the address for translation

Return to:

Send suggestions and report system problems to the System administrator.