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

From-SVN: r28660

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

index 5fea0fed3b1d8502b26e76f8c1f20f85d1bcf426..f2fc1aae41812f822d3e2174ce395e7c6738c1c0 100644 (file)
@@ -1,3 +1,9 @@
+1999-08-01  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 73bb35e17b4abe0c5fb626f011dba2cc6b494bd0..56eebd60bc4c40b14eed93c85422c99604de09b3 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 6be26e98b8d4f221926f2d099f483b09ffc1c5c5..3445ce6711936638736f44ff52f2affb8f4094df 100755 (executable)
@@ -3093,8 +3093,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
 # =][=