aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1994-05-26 15:50:35 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1994-05-26 15:50:35 +0000
commit7beec59e8ad123102ffbadd07c75fa415cfaa326 (patch)
tree5231454b321b7b2dd4eddd89c465a67dce31b970 /gcc
parenteb3af43c240a15b7ef4ee9edee65b7eb10c73d6d (diff)
downloadgcc-7beec59e8ad123102ffbadd07c75fa415cfaa326.zip
gcc-7beec59e8ad123102ffbadd07c75fa415cfaa326.tar.gz
gcc-7beec59e8ad123102ffbadd07c75fa415cfaa326.tar.bz2
Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
which are now copied by ${required} code. From-SVN: r7348
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes27
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index b865057..7c62390 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -5,11 +5,6 @@
# See README-fixinc for more information.
-# Directory where gcc sources (and sometimes special include files) live.
-# fixincludes doesn't use this, but fixinc.svr4 does, and I want to make
-# sure somebody doesn't try to use arg3 for something incompatible. -- gumby
-SRCDIR=${3-${SRCDIR-.}}
-
# Directory containing the original header files.
# (This was named INCLUDES, but that conflicts with a name in Makefile.in.)
INPUT=${2-${INPUT-/usr/include}}
@@ -44,16 +39,6 @@ case $LIB in
;;
esac
-# Make SRCDIR absolute only if needed to avoid problems with the amd.
-cd $ORIGDIR
-case $SRCDIR in
-/*)
- ;;
-*)
- cd $SRCDIR; SRCDIR=`${PWDCMD}`
- ;;
-esac
-
# Fail if no arg to specify a directory for the output.
if [ x$1 = x ]
then echo fixincludes: no output directory specified
@@ -1511,18 +1496,6 @@ for file in stdio.h stdlib.h; do
fi
done
-# These two files on SunOS 4 are included by other files
-# in the same directory, using "...". So we must make sure they exist
-# in the same directory as the other fixed files.
-if [ -r ${INPUT}/multimedia/audio_errno.h ]
-then
- ln -s ${INPUT}/multimedia/audio_errno.h ${LIB}/multimedia 2>/dev/null
-fi
-if [ -r ${INPUT}/multimedia/audio_hdr.h ]
-then
- ln -s ${INPUT}/multimedia/audio_hdr.h ${LIB}/multimedia 2>/dev/null
-fi
-
# Determine if we're on Interactive Unix 2.2 or later, in which case we
# need to fix some additional files. This is the same test for ISC that
# Autoconf uses.