summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2002-09-10 23:41:12 +0000
committerKarl Berry <karl@freefriends.org>2002-09-10 23:41:12 +0000
commit3f53294c6ad284644ff21fa9fe52173551b9965b (patch)
tree8d8dabf96c983fdefbcbd9bd1f7f824902fd80f3
parent4334636ced7ef1569aec147035bf5d08c8515830 (diff)
downloadgnulib-3f53294c6ad284644ff21fa9fe52173551b9965b.tar.gz
sync and scripts to check syncness
-rw-r--r--config/config.guess4
-rw-r--r--config/config.sub16
-rwxr-xr-xconfig/srclist-update52
-rw-r--r--config/srclist.txt9
-rw-r--r--config/srclistvars.sh10
5 files changed, 81 insertions, 10 deletions
diff --git a/config/config.guess b/config/config.guess
index 9f4e5a6d71..f1657bbc46 100644
--- a/config/config.guess
+++ b/config/config.guess
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
-timestamp='2002-08-23'
+timestamp='2002-09-03'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@@ -1111,7 +1111,7 @@ EOF
*:QNX:*:4*)
echo i386-pc-qnx
exit 0 ;;
- NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
+ NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*)
echo nsr-tandem-nsk${UNAME_RELEASE}
exit 0 ;;
*:NonStop-UX:*:*)
diff --git a/config/config.sub b/config/config.sub
index b0222f7ea0..1dea9b79d5 100644
--- a/config/config.sub
+++ b/config/config.sub
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc.
-timestamp='2002-08-22'
+timestamp='2002-09-05'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@@ -229,7 +229,7 @@ case $basic_machine in
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
- | c4x | clipper \
+ | clipper \
| d10v | d30v | dlx | dsp16xx \
| fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
@@ -294,7 +294,7 @@ case $basic_machine in
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
| avr-* \
| bs2000-* \
- | c[123]* | c30-* | [cjt]90-* | c54x-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \
| clipper-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
@@ -329,7 +329,7 @@ case $basic_machine in
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
- | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
+ | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \
| we32k-* \
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
@@ -913,6 +913,10 @@ case $basic_machine in
basic_machine=t90-cray
os=-unicos
;;
+ tic4x | c4x*)
+ basic_machine=tic4x-unknown
+ os=-coff
+ ;;
tic54x | c54x*)
basic_machine=tic54x-unknown
os=-coff
@@ -1047,10 +1051,6 @@ case $basic_machine in
pmac | pmac-mpw)
basic_machine=powerpc-apple
;;
- c4x*)
- basic_machine=c4x-none
- os=-coff
- ;;
*-unknown)
# Make sure to match an already-canonicalized machine name.
;;
diff --git a/config/srclist-update b/config/srclist-update
new file mode 100755
index 0000000000..8fe4698631
--- /dev/null
+++ b/config/srclist-update
@@ -0,0 +1,52 @@
+#!/bin/sh
+# $Id: srclist-update,v 1.1 2002-09-10 23:41:12 karl Exp $
+#
+# Check for files being up to date, according to the list on stdin.
+#
+# Source $mydir/srclistvars.sh first, if it exists, where
+# $mydir=`dirname $0`.
+
+if test -n "$1"; then
+ cd "$1" || exit 1
+fi
+
+verbose=false
+#chicken="echo (would)"
+
+srctmp=${TMPDIR-/tmp}/srclist.src
+dsttmp=${TMPDIR-/tmp}/srclist.dst
+
+mydir=`dirname $0`
+test -r $mydir/srclistvars.sh && . $mydir/srclistvars.sh
+
+cat | while read src dst; do
+ test -z "$dst" && continue # skip lines without second element
+ echo "$src $dst" | sed 's/#.*$//' | egrep '^\s*$' >/dev/null \
+ && continue # skip whitespace and comment-only lines
+
+ src=`eval echo $src`
+ if test ! -r $src; then
+ echo "$0: cannot read $src" >&2
+ continue
+ fi
+
+ # If given src/foo.c dst, copy to dst/foo.c.
+ dst=`eval echo $dst`
+ test -d $dst && dst=$dst/`basename $src`
+
+ # $ Id: lines will differ.
+ fgrep -v '$'"Id:" $src >$srctmp
+ test -r $dst && fgrep -v '$'"Id:" $dst >$dsttmp
+
+ if test ! -e $dst; then
+ echo "## $src $dst # new"
+ $chicken cp -p $src $dst
+ elif cmp -s $srctmp $dsttmp; then
+ $verbose && echo "## $src $dst # unchanged"
+ else
+ echo "## $src $dst # changes"
+ diff -c2 $src $dst
+ fi
+done
+
+rm -f $srctmp $dsttmp
diff --git a/config/srclist.txt b/config/srclist.txt
new file mode 100644
index 0000000000..e1ab4050e9
--- /dev/null
+++ b/config/srclist.txt
@@ -0,0 +1,9 @@
+# $Id: srclist.txt,v 1.1 2002-09-10 23:41:12 karl Exp $
+# Files for which we are not the source.
+
+TEXINFO=/u/texinfo/src
+GNUCONFIG=$HOME/gnu/src/ftp.gnu.org/pub/gnu/config
+
+$TEXINFO/doc/texinfo.tex config
+$GNUCONFIG/config.guess config
+$GNUCONFIG/config.sub config
diff --git a/config/srclistvars.sh b/config/srclistvars.sh
new file mode 100644
index 0000000000..4db80766df
--- /dev/null
+++ b/config/srclistvars.sh
@@ -0,0 +1,10 @@
+# $Id: srclistvars.sh,v 1.1 2002-09-10 23:41:12 karl Exp $
+# Variables for srclist-update and srclist.txt.
+
+: ${EMACSSRC=$HOME/gnu/src/emacs}
+: ${GETTEXT=/usr/local/gnu/share/gettext}
+: ${GNUBIN=/usr/local/gnu/bin}
+: ${GNUCONFIG=$HOME/gnu/src/ftp.gnu.org/pub/gnu/config}
+: ${GNULIBSRC=$HOME/gnu/src/gnulib}
+: ${TEXINFO=/u/texinfo/src}
+: ${TEXMF=/usr/local/texmf/texmf}