From 73bdfabc83517cdc34da831196b222c80149e398 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 19 Sep 1992 04:43:29 +0000 Subject: [PATCH] Don't look for *.h symlinks if the host doesn't have symlinks. From-SVN: r2156 --- gcc/fixincludes | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/fixincludes b/gcc/fixincludes index 3552029a145..53fcae6302e 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. -- 2.30.2