Check for symlinks being available in /tmp.
authorRichard Stallman <rms@gnu.org>
Sat, 10 Jul 1993 19:06:09 +0000 (19:06 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 10 Jul 1993 19:06:09 +0000 (19:06 +0000)
From-SVN: r4899

gcc/fixincludes

index 51616e4fd480051ce71cf80bb6ff1c7d306e1a48..ac031c458caaa1478b58a60b64c3dee6bad87176 100755 (executable)
@@ -66,6 +66,9 @@ echo Building fixed headers in ${LIB}
 if ln -s X $LIB/ShouldNotExist 2>/dev/null; then
   rm -f $LIB/ShouldNotExist
   LINKS=true
+elif ln -s X /tmp/ShouldNotExist 2>/dev/null; then
+  rm -f /tmp/ShouldNotExist
+  LINKS=true
 else
   LINKS=false
 fi