From 8b748aed2a9ab4b964faa5722f7a182a060e475c Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 9 Nov 2012 22:13:45 +0000 Subject: Support --with-pkgversion and --with-bugurl. --- sunrpc/proto.h | 3 --- sunrpc/rpc_main.c | 6 +++--- sunrpc/rpcinfo.c | 6 +++--- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'sunrpc') diff --git a/sunrpc/proto.h b/sunrpc/proto.h index 0ba9cd6..ea28565 100644 --- a/sunrpc/proto.h +++ b/sunrpc/proto.h @@ -62,7 +62,4 @@ void add_type(int len, const char *type); #define _(X) (X) #define textdomain(X) ((void) 0) -/* This is used in the definition of PACKAGE for --version output. */ -#define _libc_intl_domainname "libc" - #endif diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index 2103b10..1477b43 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -1439,15 +1439,15 @@ options_usage (FILE *stream, int status) f_print (stream, _("-T\t\tgenerate code to support RPC dispatch tables\n")); f_print (stream, _("-Y path\t\tdirectory name to find C preprocessor (cpp)\n")); - f_print (stream, "\n%s", _("\ + f_print (stream, _("\n\ For bug reporting instructions, please see:\n\ -.\n")); +%s.\n"), REPORT_BUGS_TO); exit (status); } static void print_version (void) { - printf ("rpcgen (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rpcgen %s%s\n", PKGVERSION, VERSION); exit (0); } diff --git a/sunrpc/rpcinfo.c b/sunrpc/rpcinfo.c index 16c0354..e490a7e 100644 --- a/sunrpc/rpcinfo.c +++ b/sunrpc/rpcinfo.c @@ -688,15 +688,15 @@ usage (FILE *stream) fputs (_(" rpcinfo -b prognum versnum\n"), stream); fputs (_(" rpcinfo -d prognum versnum\n"), stream); fputc ('\n', stream); - fputs (_("\ + fprintf (stream, _("\ For bug reporting instructions, please see:\n\ -.\n"), stream); +%s.\n"), REPORT_BUGS_TO); } static void print_version (void) { - printf ("rpcinfo (GNU %s) %s\n", PACKAGE, VERSION); + printf ("rpcinfo %s%s\n", PKGVERSION, VERSION); } static u_long -- cgit v1.1