aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/getopt.m44
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[] = {
format_authors(_getopt_get_option(authors))
};>])
+void (*print_version_hook)(FILE *stream);
+
void
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 <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n\n"),
stream);
+ if (print_version_hook)
+ print_version_hook (stream);
_getopt_if_option_set([<authors>],[<
width = strlen (written_by);
fputs (written_by, stream);

Return to:

Send suggestions and report system problems to the System administrator.