path: root/build-aux
authorSergey Poznyakoff <>2011-05-08 19:27:35 (GMT)
committer Sergey Poznyakoff <>2011-05-08 19:42:28 (GMT)
commite523423777dd75acc59cf7b9e7466527d774a9f9 (patch) (side-by-side diff)
tree6d17e7553373fdfb6f32870902b75874c3f06aae /build-aux
parent79f6b2c923d1c2366b68a431756bde6e4a04ae86 (diff)
Various fixes.
* .gitignore: Add gitid.h * Build gitid.h. * am/grecs.m4: Remove GRECS_VEROK_AT. * build-aux/getopt.m4 (print_version_hook): New variable. (print_version): Call print_version_hook, if defined. * src/ (INCLUDES): Update. * src/grecs.h (grecs_version_info) <id>: New member. * src/version.c (grecs_version): Initialize id. * tests/ Remove GRECS_VEROK_AT. * tests/ Likewise.
Diffstat (limited to 'build-aux') (more/less context) (ignore whitespace changes)
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/getopt.m4 b/build-aux/getopt.m4
index b63baaf..83a1e35 100644
--- a/build-aux/getopt.m4
+++ b/build-aux/getopt.m4
@@ -700,6 +700,8 @@ char *program_author[] = {
+void (*print_version_hook)(FILE *stream);
print_version(const char *program_version, FILE *stream)
@@ -729,6 +731,8 @@ dnl directives between the lines.
dnl **************************************************************************
fputs (_("License GPLv3+: GNU GPL version 3 or later <>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\n"),
+ if (print_version_hook)
+ print_version_hook (stream);
width = strlen (written_by);
fputs (written_by, stream);

Return to:

Send suggestions and report system problems to the System administrator.