diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-25 13:09:01 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-05-25 13:09:01 +0000 |
commit | b6fba881dab1ff43d0c031bc3a09ed298b578435 (patch) | |
tree | a6bf87609593596f83cf2fbe6f6b5271e487a9c7 /libstdc++-v3/mkcshadow | |
parent | 2f9a3c5aeb0d2d098af3f569de69a9ab6437144a (diff) | |
download | gcc-b6fba881dab1ff43d0c031bc3a09ed298b578435.tar.gz |
2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
* inclosure: Change to...
* mkinclosure: This.
Fix paths to bash.
* mkcshadow: Fix paths to bash.
* src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
(GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
* aclocal.m4: Regenerate.
* configure.in: Enable long long by default.
* configure: Regenerate.
* mkcheck.in (LIB_PATH): Revert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34166 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/mkcshadow')
-rwxr-xr-x | libstdc++-v3/mkcshadow | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libstdc++-v3/mkcshadow b/libstdc++-v3/mkcshadow index caaaba26c5f..b3cc40eee8b 100755 --- a/libstdc++-v3/mkcshadow +++ b/libstdc++-v3/mkcshadow @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # mkcshadow: reads header names (like "features.h" or "sys/types.h") # from stdin, and creates shadow headers under cshadow/, except where @@ -8,7 +8,7 @@ SCRIPTDIR=${0%/*} if [ ! -d cshadow ]; then echo "Creating cshadow." - mkdir cshadow + mkdir ../cshadow fi echo "Creating..." @@ -19,7 +19,7 @@ while read header; do # strip off directory names while making # any necessary directories - dir=cshadow + dir=../cshadow case "$header" in */*) right="$header" while [ "$right" != "${right##*/}" ] ; do @@ -30,9 +30,9 @@ while read header; do ;; esac - echo " cshadow/$header" + echo " ../cshadow/$header" UPNAME=`echo $header | tr 'a-z./-' 'A-Z___'` - cat >"cshadow/$header" <<EOF + cat >"../cshadow/$header" <<EOF // -*- C++ -*- header wrapper. // Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. @@ -86,3 +86,9 @@ EOF #################### end #################### fi done + + + + + + |