Don't look for *.h symlinks if the host doesn't have symlinks.
authorRichard Stallman <rms@gnu.org>
Sat, 19 Sep 1992 04:43:29 +0000 (04:43 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 19 Sep 1992 04:43:29 +0000 (04:43 +0000)
From-SVN: r2156

gcc/fixincludes

index 3552029a14503d569e72dd42488b4b208f6f8479..53fcae6302ef436986bb81d3d829d52e87b32600 100755 (executable)
@@ -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.