diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-10-23 21:46:06 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-10-23 21:46:06 +0000 |
commit | 3ef05bac2186796b243975c501ae824328389f94 (patch) | |
tree | 55331aef311be379a1cad8518e02477e15e93e0f /newlib/configure.in | |
parent | 4340b63bc1e20c0311f7a723b8c3ee3b1760a60a (diff) | |
download | newlib-3ef05bac2186796b243975c501ae824328389f94.zip newlib-3ef05bac2186796b243975c501ae824328389f94.tar.gz newlib-3ef05bac2186796b243975c501ae824328389f94.tar.bz2 |
2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
* configure.in: Use absolute newlib basedir when forming
CC_FOR_NEWLIB include options.
* configure: Regenerated.
Diffstat (limited to 'newlib/configure.in')
-rw-r--r-- | newlib/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/configure.in b/newlib/configure.in index faf4aa2..9283590 100644 --- a/newlib/configure.in +++ b/newlib/configure.in @@ -62,8 +62,9 @@ AC_SUBST(EXTRA_DIRS) # These get added in the top-level configure.in, except in the case where # newlib is being built natively. LIBC_INCLUDE_GREP=`echo ${CC} | grep \/libc\/include` +abs_newlib_basedir=`cd ${newlib_basedir} && pwd` if test -z "${LIBC_INCLUDE_GREP}"; then - CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${newlib_basedir}/libc/include" + CC_FOR_NEWLIB="${CC} -I$PWD/targ-include -I${abs_newlib_basedir}/libc/include" else CC_FOR_NEWLIB="${CC}" fi |