(main): Use PACKAGE_VERSION instead of version_string.
#include <sys/ioctl.h>
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
/* Undefine, to avoid warning about redefinition on some systems. */
if (show_version)
{
- printf ("cat - %s\n", version_string);
+ printf ("cat - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* Number of bytes to read at once. */
if (show_version)
{
- printf ("cksum - %s\n", version_string);
+ printf ("cksum - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include "system.h"
#include "linebuffer.h"
-#include "version.h"
#include "error.h"
/* Undefine, to avoid warning about redefinition on some systems. */
if (show_version)
{
- printf ("comm - %s\n", version_string);
+ printf ("comm - %s\n", PACKAGE_VERSION);
exit (0);
}
# include <rx.h>
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
#include "xstrtoul.h"
if (show_version)
{
- printf ("csplit - %s\n", version_string);
+ printf ("csplit - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
#define FATAL_ERROR(s) \
if (show_version)
{
- printf ("cut - %s\n", version_string);
+ printf ("cut - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* The number of bytes added at a time to the amount of memory
if (show_version)
{
- printf ("expand - %s\n", version_string);
+ printf ("expand - %s\n", PACKAGE_VERSION);
exit (0);
}
#define word unused_word_type
#include "system.h"
-#include "version.h"
#include "error.h"
#include "xstrtol.h"
if (show_version)
{
- printf ("fmt - %s\n", version_string);
+ printf ("fmt - %s\n", PACKAGE_VERSION);
exit (0);
}
#endif
#include "system.h"
-#include "version.h"
#include "xstrtol.h"
#include "error.h"
if (show_version)
{
- printf ("fold - %s\n", version_string);
+ printf ("fold - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* Number of lines/chars/blocks to head. */
if (show_version)
{
- printf ("head - %s\n", version_string);
+ printf ("head - %s\n", PACKAGE_VERSION);
exit (0);
}
#endif
#include "system.h"
-#include "version.h"
#include "long-options.h"
#include "xstrtol.h"
#include "error.h"
it may be increased. */
uni_blank.nfields = 1;
- parse_long_options (argc, argv, "join", version_string, usage);
+ parse_long_options (argc, argv, "join", PACKAGE_VERSION, usage);
nfiles = 0;
print_pairables = 1;
#include "getline.h"
#include "system.h"
#include "error.h"
-#include "version.h"
/* Most systems do not distinguish between external and internal
text representations. */
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "md5sum", version_string, usage);
+ parse_long_options (argc, argv, "md5sum", PACKAGE_VERSION, usage);
while ((opt = getopt_long (argc, argv, "bctw", long_options, NULL))
!= EOF)
if (do_version)
{
- printf ("md5sum - %s\n", version_string);
+ printf ("md5sum - %s\n", PACKAGE_VERSION);
exit (EXIT_SUCCESS);
}
#include "linebuffer.h"
#include "system.h"
-#include "version.h"
#include "error.h"
#include "xstrtol.h"
if (show_version)
{
- printf ("nl - %s\n", version_string);
+ printf ("nl - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "xstrtoul.h"
#include "error.h"
if (show_version)
{
- printf ("od - %s\n", version_string);
+ printf ("od - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
char *xmalloc ();
if (show_version)
{
- printf ("paste - %s\n", version_string);
+ printf ("paste - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include <time.h>
#include "system.h"
-#include "version.h"
#include "error.h"
char *xmalloc ();
if (show_version)
{
- printf ("pr - %s\n", version_string);
+ printf ("pr - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <signal.h>
#include <stdio.h>
#include "system.h"
-#include "version.h"
#include "long-options.h"
#include "error.h"
#include "xstrtod.h"
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "sort", version_string, usage);
+ parse_long_options (argc, argv, "sort", PACKAGE_VERSION, usage);
have_read_stdin = 0;
inittables ();
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
#include "xstrtol.h"
if (show_version)
{
- printf ("split - %s\n", version_string);
+ printf ("split - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include <getopt.h>
#include "system.h"
-#include "version.h"
#include "error.h"
int safe_read ();
if (show_version)
{
- printf ("sum - %s\n", version_string);
+ printf ("sum - %s\n", PACKAGE_VERSION);
exit (0);
}
# include <rx.h>
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
#ifndef STDC_HEADERS
if (show_version)
{
- printf ("tac - %s\n", version_string);
+ printf ("tac - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "xstrtol.h"
#include "error.h"
if (show_version)
{
- printf ("tail - %s\n", version_string);
+ printf ("tail - %s\n", PACKAGE_VERSION);
exit (0);
}
#endif
#include "system.h"
-#include "version.h"
#include "error.h"
#ifndef ULONG_MAX
if (show_version)
{
- printf ("tr - %s\n", version_string);
+ printf ("tr - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* The number of bytes added at a time to the amount of memory
if (show_version)
{
- printf ("unexpand - %s\n", version_string);
+ printf ("unexpand - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "linebuffer.h"
-#include "version.h"
#include "error.h"
#include "xstrtol.h"
if (show_version)
{
- printf ("uniq - %s\n", version_string);
+ printf ("uniq - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
/* Size of atomic reads. */
if (show_version)
{
- printf ("wc - %s\n", version_string);
+ printf ("wc - %s\n", PACKAGE_VERSION);
exit (0);
}