(main): Use PACKAGE_VERSION instead of version_string.
#endif
#include "system.h"
-#include "version.h"
#include "xstrtoul.h"
#include "error.h"
if (show_version)
{
- printf ("chgrp - %s\n", version_string);
+ printf ("chgrp - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "modechange.h"
#include "system.h"
-#include "version.h"
#include "error.h"
void mode_string ();
if (show_version)
{
- printf ("chmod - %s\n", version_string);
+ printf ("chmod - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include "system.h"
-#include "version.h"
#include "error.h"
#ifndef _POSIX_VERSION
if (show_version)
{
- printf ("chown - %s\n", version_string);
+ printf ("chown - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include "cp.h"
#include "backupfile.h"
-#include "version.h"
#include "argmatch.h"
#ifndef _POSIX_VERSION
if (show_version)
{
- printf ("cp - %s\n", version_string);
+ printf ("cp - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <getopt.h>
#include "system.h"
-#include "version.h"
#include "error.h"
#define equal(p, q) (strcmp ((p),(q)) == 0)
if (show_version)
{
- printf ("dd - %s\n", version_string);
+ printf ("dd - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "mountlist.h"
#include "fsusage.h"
#include "system.h"
-#include "version.h"
#include "error.h"
char *xmalloc ();
if (show_version)
{
- printf ("df - %s\n", version_string);
+ printf ("df - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <assert.h>
#include "system.h"
-#include "version.h"
#include "save-cwd.h"
#include "error.h"
if (show_version)
{
- printf ("du - %s\n", version_string);
+ printf ("du - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <grp.h>
#include "system.h"
-#include "version.h"
#include "backupfile.h"
#include "modechange.h"
#include "makepath.h"
if (show_version)
{
- printf ("install - %s\n", version_string);
+ printf ("install - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "backupfile.h"
-#include "version.h"
#include "error.h"
int link (); /* Some systems don't declare this anywhere. */
if (show_version)
{
- printf ("ln - %s\n", version_string);
+ printf ("ln - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "obstack.h"
#include "ls.h"
-#include "version.h"
#include "error.h"
#include "argmatch.h"
if (show_version)
{
- printf ("ls - %s\n", version_string);
+ printf ("ls - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "modechange.h"
#include "makepath.h"
-#include "version.h"
#include "error.h"
/* The name this program was run with. */
if (show_version)
{
- printf ("mkdir - %s\n", version_string);
+ printf ("mkdir - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "modechange.h"
-#include "version.h"
#include "error.h"
/* The name this program was run with. */
if (show_version)
{
- printf ("mkfifo - %s\n", version_string);
+ printf ("mkfifo - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "modechange.h"
-#include "version.h"
#include "error.h"
#include "xstrtol.h"
if (show_version)
{
- printf ("mknod - %s\n", version_string);
+ printf ("mknod - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "backupfile.h"
-#include "version.h"
#include "error.h"
#ifndef _POSIX_VERSION
if (show_version)
{
- printf ("mv - %s\n", version_string);
+ printf ("mv - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
#ifdef D_INO_IN_DIRENT
if (show_version)
{
- printf ("rm - %s\n", version_string);
+ printf ("rm - %s\n", PACKAGE_VERSION);
exit (0);
}
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
void strip_trailing_slashes ();
if (show_version)
{
- printf ("rmdir - %s\n", version_string);
+ printf ("rmdir - %s\n", PACKAGE_VERSION);
exit (0);
}
#include "system.h"
#include "long-options.h"
-#include "version.h"
#include "error.h"
/* The name this program was run with. */
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- parse_long_options (argc, argv, "sync", version_string, usage);
+ parse_long_options (argc, argv, "sync", PACKAGE_VERSION, usage);
if (argc != 1)
error (0, 0, _("ignoring all arguments"));
#include <sys/types.h>
#include "system.h"
-#include "version.h"
#include "error.h"
#include "argmatch.h"
if (show_version)
{
- printf ("touch - %s\n", version_string);
+ printf ("touch - %s\n", PACKAGE_VERSION);
exit (0);
}