summaryrefslogtreecommitdiffstats
path: root/missing
diff options
context:
space:
mode:
authorKelley Cook <kcook@gcc.gnu.org>2005-07-14 01:08:13 +0000
committerR. Kelley Cook <kcook@gcc.gnu.org>2005-07-14 01:08:13 +0000
commit0063a8238d6f2b3cb933cffb33a0b69abfa90674 (patch)
treeec8b23d6b9251ec2410138db8a4a389622a90143 /missing
parentDaily bump. (diff)
downloadgcc-0063a8238d6f2b3cb933cffb33a0b69abfa90674.tar.gz
gcc-0063a8238d6f2b3cb933cffb33a0b69abfa90674.tar.bz2
gcc-0063a8238d6f2b3cb933cffb33a0b69abfa90674.tar.xz
COPYING, [...]: Sync from upstream sources.
2005-07-14 Kelley Cook <kcook@gcc.gnu.org> * COPYING, compile, config-ml.in, config.guess, config.sub, install-sh, missing, mkinstalldirs, symlink-tree, ylwrap: Sync from upstream sources. From-SVN: r102001
Diffstat (limited to 'missing')
-rwxr-xr-xmissing23
1 files changed, 15 insertions, 8 deletions
diff --git a/missing b/missing
index 64b5f901dd5..894e786e16c 100755
--- a/missing
+++ b/missing
@@ -1,9 +1,9 @@
1#! /bin/sh 1#! /bin/sh
2# Common stub for a few missing GNU programs while installing. 2# Common stub for a few missing GNU programs while installing.
3 3
4scriptversion=2004-09-07.08 4scriptversion=2005-06-08.21
5 5
6# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004 6# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
7# Free Software Foundation, Inc. 7# Free Software Foundation, Inc.
8# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. 8# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9 9
@@ -19,8 +19,8 @@ scriptversion=2004-09-07.08
19 19
20# You should have received a copy of the GNU General Public License 20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software 21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 22# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23# 02111-1307, USA. 23# 02110-1301, USA.
24 24
25# As a special exception to the GNU General Public License, if you 25# As a special exception to the GNU General Public License, if you
26# distribute this file as part of a program that contains a 26# distribute this file as part of a program that contains a
@@ -87,12 +87,12 @@ Supported PROGRAM values:
87 yacc create \`y.tab.[ch]', if possible, from existing .[ch] 87 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
88 88
89Send bug reports to <bug-automake@gnu.org>." 89Send bug reports to <bug-automake@gnu.org>."
90 exit 0 90 exit $?
91 ;; 91 ;;
92 92
93 -v|--v|--ve|--ver|--vers|--versi|--versio|--version) 93 -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
94 echo "missing $scriptversion (GNU Automake)" 94 echo "missing $scriptversion (GNU Automake)"
95 exit 0 95 exit $?
96 ;; 96 ;;
97 97
98 -*) 98 -*)
@@ -288,11 +288,18 @@ WARNING: \`$1' is $msg. You should only need it if
288 call might also be the consequence of using a buggy \`make' (AIX, 288 call might also be the consequence of using a buggy \`make' (AIX,
289 DU, IRIX). You might want to install the \`Texinfo' package or 289 DU, IRIX). You might want to install the \`Texinfo' package or
290 the \`GNU make' package. Grab either from any GNU archive site." 290 the \`GNU make' package. Grab either from any GNU archive site."
291 # The file to touch is that specified with -o ...
291 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` 292 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
292 if test -z "$file"; then 293 if test -z "$file"; then
293 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` 294 # ... or it is the one specified with @setfilename ...
294 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` 295 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
296 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
297 # ... or it is derived from the source name (dir/f.texi becomes f.info)
298 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
295 fi 299 fi
300 # If the file does not exist, the user really needs makeinfo;
301 # let's fail without touching anything.
302 test -f $file || exit 1
296 touch $file 303 touch $file
297 ;; 304 ;;
298 305