aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-09-19 04:43:29 +0000
committerRichard Stallman <rms@gnu.org>1992-09-19 04:43:29 +0000
commit73bdfabc83517cdc34da831196b222c80149e398 (patch)
treeabddb936a1969d1f58570282cf44d962e601868a
parent9846fee016432d6405fcfbf58b9839284bd436c1 (diff)
downloadgcc-73bdfabc83517cdc34da831196b222c80149e398.zip
gcc-73bdfabc83517cdc34da831196b222c80149e398.tar.gz
gcc-73bdfabc83517cdc34da831196b222c80149e398.tar.bz2
Don't look for *.h symlinks if the host doesn't have symlinks.
From-SVN: r2156
-rwxr-xr-xgcc/fixincludes6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index 3552029..53fcae6 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -189,7 +189,11 @@ while [ $# != 0 ]; do
echo Fixing directory $1 into $2
# Check .h files which are symlinks as well as those which are files.
# A link to a header file will not be processed by anything but this.
- files=`find . -name '*.h' \( -type f -o -type l \) -print`
+ if $LINKS; then
+ files=`find . -name '*.h' \( -type f -o -type l \) -print`
+ else
+ files=`find . -name '*.h' -type f -print`
+ fi
echo Checking header files
fi
# Note that BSD43_* are used on recent MIPS systems.