]> gcc.gnu.org Git - gcc.git/commitdiff
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 d502faa9a5a72e0a37b9858300d7ee521ac58229..b76a3d667e980a45aec96aede2bd463e970d6570 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 fd357a33f2f1e2a438daaf4a114d4bdbdf544616..9e9064e579e2a46997b1847f68fdb1564076619c 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 7652d171ed31b425902936f61b3209958cdf7379..292c96791068d0d706cee1de3ab5083ab2d4e42e 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 44f379818649ef6c6de6008e3dd1d88ce13c4d0f..587a8e531438e1e33365999b73de5b23550348fb 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
 # =][=
This page took 0.074087 seconds and 5 git commands to generate.