summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-11-11 07:13:26 +0000
committerJim Meyering <jim@meyering.net>2003-11-11 07:13:26 +0000
commit98a4c708d5bed39a54b62d092ec4a70d300aedaf (patch)
treeec7eab3cf1b0e7a41e019d7e25c63f277de7037d
parentc6e903bd693edadc73d12346c33b329aa5928dc8 (diff)
downloadcoreutils-98a4c708d5bed39a54b62d092ec4a70d300aedaf.tar.xz
update from gnulib
-rw-r--r--config/depcomp43
-rwxr-xr-xconfig/mdate-sh37
-rw-r--r--config/mkinstalldirs12
3 files changed, 88 insertions, 4 deletions
diff --git a/config/depcomp b/config/depcomp
index dcb2b19d5..9e5522d04 100644
--- a/config/depcomp
+++ b/config/depcomp
@@ -1,6 +1,8 @@
#! /bin/sh
-
# depcomp - compile a program generating dependencies as side-effects
+
+scriptversion=2003-11-08.23
+
# Copyright (C) 1999, 2000, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -25,6 +27,36 @@
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
+case $1 in
+ '')
+ echo "$0: No command. Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: depcomp [--help] [--version] PROGRAM [ARGS]
+
+Run PROGRAMS ARGS to compile a file, generating dependencies
+as side-effects.
+
+Environment variables:
+ depmode Dependency tracking mode.
+ source Source file read by `PROGRAMS ARGS'.
+ object Object file output by `PROGRAMS ARGS'.
+ depfile Dependency file to output.
+ tmpdepfile Temporary file to use when outputing dependencies.
+ libtool Whether libtool is used (yes/no).
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit 0
+ ;;
+ -v | --v*)
+ echo "depcomp $scriptversion"
+ exit 0
+ ;;
+esac
+
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
@@ -477,3 +509,12 @@ none)
esac
exit 0
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
diff --git a/config/mdate-sh b/config/mdate-sh
index b610b47a6..05e828b08 100755
--- a/config/mdate-sh
+++ b/config/mdate-sh
@@ -1,5 +1,8 @@
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
+
+scriptversion=2003-11-09.00
+
# Copyright (C) 1995, 1996, 1997, 2003 Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
#
@@ -22,6 +25,31 @@
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+case $1 in
+ '')
+ echo "$0: No file. Try \`$0 --help' for more information." 1>&2
+ exit 1;
+ ;;
+ -h | --h*)
+ cat <<\EOF
+Usage: mdate-sh [--help] [--version] FILE
+
+Pretty-print the modification time of FILE.
+
+Report bugs to <bug-automake@gnu.org>.
+EOF
+ exit 0
+ ;;
+ -v | --v*)
+ echo "mdate-sh $scriptversion"
+ exit 0
+ ;;
+esac
+
# Prevent date giving response in another language.
LANG=C
export LANG
@@ -131,3 +159,12 @@ esac
# The result.
echo $day $month $year
+
+# Local Variables:
+# mode: shell-script
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
+# End:
diff --git a/config/mkinstalldirs b/config/mkinstalldirs
index a55cff670..6504b744b 100644
--- a/config/mkinstalldirs
+++ b/config/mkinstalldirs
@@ -1,10 +1,15 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
+
+scriptversion=2003-11-08.23
+
# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain.
-
-scriptversion=2003-09-26.19
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
errstatus=0
dirmode=""
@@ -14,7 +19,8 @@ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
Create each directory DIR (with mode MODE, if specified), including all
leading file name components.
-"
+
+Report bugs to <bug-automake@gnu.org>."
# process command line arguments
while test $# -gt 0 ; do