(ansi_compat.h): Replace this with an empty file.
authorRichard Stallman <rms@gnu.org>
Tue, 18 Aug 1992 04:19:17 +0000 (04:19 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 18 Aug 1992 04:19:17 +0000 (04:19 +0000)
From-SVN: r1883

gcc/fixincludes

index 2bcf7ae6c2a0af5b7d11ee08da0b445fd758fd43..1cab4c307e61b5df5c783e2951c5a600c48b1541 100755 (executable)
@@ -737,6 +737,14 @@ if [ -r ${LIB}/$file ]; then
   fi
 fi
 
+# Cancel out ansi_compat.h on Ultrix.  Replace it with empty file.
+file=ansi_compat.h
+if [ -r $file ] && [ ! -r ${LIB}/$file ]; then
+  if grep -s ULTRIX $file; then
+    echo "/* This file intentionally left blank.  */" > $LIB/$file
+  fi
+fi
+
 # parameter to atof not const on DECstation Ultrix V4.0.
 file=math.h
 if [ -r $file ] && [ ! -r ${LIB}/$file ]; then