diff options
author | Brendan Conoboy <blc@cygnus.com> | 2001-05-18 02:02:37 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2001-05-18 02:02:37 +0000 |
commit | b3eddceefef17ca298ed8e9297654096e86af190 (patch) | |
tree | 35ef70d68176eb5b7b3f54936caef90ef4a2d1f4 | |
parent | 02db7776c71440167bee513f6f0df74a43bd8176 (diff) | |
download | gcc-b3eddceefef17ca298ed8e9297654096e86af190.zip gcc-b3eddceefef17ca298ed8e9297654096e86af190.tar.gz gcc-b3eddceefef17ca298ed8e9297654096e86af190.tar.bz2 |
accept local directory for fixincl in fixincl.sh script
Co-Authored-By: Bruce Korb <bkorb@gnu.org>
From-SVN: r42234
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rwxr-xr-x | gcc/fixinc/fixincl.sh | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6114ab1..f356ee5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-05-17 Brendan Conoboy <blc@cygnus.com> + Bruce Korb <bkorb@gnu.org> + + * fixinc/fixincl.sh(FIXINC): accept local directory if fixincl not + found in fixinc directory. Facilitates binary distributions. + 2001-05-17 Jeffrey Oldham <oldham@codesourcery.com> * dbxout.c (dbxout_symbol_location): For CONCAT, skip types not diff --git a/gcc/fixinc/fixincl.sh b/gcc/fixinc/fixincl.sh index fa2982f..b84d701 100755 --- a/gcc/fixinc/fixincl.sh +++ b/gcc/fixinc/fixincl.sh @@ -97,6 +97,13 @@ esac ORIGDIR=`${PWDCMD}` export ORIGDIR FIXINCL=${ORIGDIR}/fixinc/fixincl +if [ ! -x $FIXINCL ] ; then + FIXINCL=${ORIGDIR}/fixincl + if [ ! -x $FIXINCL ] ; then + echo "Cannot find working fixincl" >&2 + exit 1 + fi +fi export FIXINCL # Make LIB absolute only if needed to avoid problems with the amd. |