From 7beec59e8ad123102ffbadd07c75fa415cfaa326 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 26 May 1994 15:50:35 +0000 Subject: [PATCH] Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files which are now copied by ${required} code. From-SVN: r7348 --- gcc/fixincludes | 27 --------------------------- 1 file changed, 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. -- 2.7.4