diff options
author | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 02:02:37 +0000 |
---|---|---|
committer | korbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-18 02:02:37 +0000 |
commit | d0b6b3c6d528357a4463d70cad4fa7b397ebdcca (patch) | |
tree | 35ef70d68176eb5b7b3f54936caef90ef4a2d1f4 | |
parent | 1ae99fd2ee05f745f0351cf7557aa3614c258139 (diff) |
accept local directory for fixincl in fixincl.sh script
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42234 138bc75d-0d04-0410-961f-82ee72b054a4
-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 6114ab1e1c7..f356ee519c3 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 fa2982f9d63..b84d7014d97 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. |