inclhack.tpl: Only install assert.h conditionally.
authorBruce Korb <ddsinc09@ix.netcom.com>
Wed, 11 Aug 1999 07:17:01 +0000 (07:17 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 11 Aug 1999 07:17:01 +0000 (01:17 -0600)
        * fixinc/inclhack.tpl: Only install assert.h conditionally.
        * fixinc/inclhack.sh: Regenerated.
        * fixinc/fixincl.sh: Regenerated.

From-SVN: r28659

gcc/ChangeLog
gcc/fixinc/fixincl.sh
gcc/fixinc/inclhack.sh
gcc/fixinc/inclhack.tpl

index d502faa..b76a3d6 100644 (file)
@@ -1,3 +1,9 @@
+1999-08-11  Bruce Korb  <ddsinc09@ix.netcom.com>
+
+       * fixinc/inclhack.tpl: Only install assert.h conditionally.
+       * fixinc/inclhack.sh: Regenerated.
+       * fixinc/fixincl.sh: Regenerated.
+
 Wed Aug 11 00:34:22 1999  Joe Buck  <jbuck@synopsys.com>
 
        * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
index fd357a3..9e9064e 100755 (executable)
@@ -406,8 +406,10 @@ done
 #
 # # # # # # # # # # # # # # # # # # # # #
 
-cd $ORIGDIR
-rm -f include/assert.h
-cp ${srcdir}/assert.h include/assert.h || exit 1
-chmod a+r include/assert.h
-
+if [ x${INSTALL_ASSERT_H} != x ] && [ -f ${srcdir}/assert.h ]
+then
+  cd $ORIGDIR
+  rm -f include/assert.h
+  cp ${srcdir}/assert.h include/assert.h || exit 1
+  chmod a+r include/assert.h
+fi
index 7652d17..292c967 100755 (executable)
@@ -3224,8 +3224,10 @@ done
 #
 # # # # # # # # # # # # # # # # # # # # #
 
-cd $ORIGDIR
-rm -f include/assert.h
-cp ${srcdir}/assert.h include/assert.h || exit 1
-chmod a+r include/assert.h
-
+if [ x${INSTALL_ASSERT_H} != x ] && [ -f ${srcdir}/assert.h ]
+then
+  cd $ORIGDIR
+  rm -f include/assert.h
+  cp ${srcdir}/assert.h include/assert.h || exit 1
+  chmod a+r include/assert.h
+fi
index 44f3798..587a8e5 100644 (file)
@@ -416,11 +416,13 @@ done
 #
 # # # # # # # # # # # # # # # # # # # # #
 
-cd $ORIGDIR
-rm -f include/assert.h
-cp ${srcdir}/assert.h include/assert.h || exit 1
-chmod a+r include/assert.h
-[=
+if [ x${INSTALL_ASSERT_H} != x ] && [ -f ${srcdir}/assert.h ]
+then
+  cd $ORIGDIR
+  rm -f include/assert.h
+  cp ${srcdir}/assert.h include/assert.h || exit 1
+  chmod a+r include/assert.h
+fi[=
 
 #  Make the output file executable
 # =][=