OSDN Git Service

(ansi_compat.h): Replace this with an empty file.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Aug 1992 04:19:17 +0000 (04:19 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Aug 1992 04:19:17 +0000 (04:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1883 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fixincludes

index 2bcf7ae..1cab4c3 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