diff options
Diffstat (limited to 'newlib/configure')
-rwxr-xr-x | newlib/configure | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/newlib/configure b/newlib/configure index 31b790f2a..974f4086c 100755 --- a/newlib/configure +++ b/newlib/configure @@ -769,6 +769,7 @@ build_os build_vendor build_cpu build +abs_newlib_basedir newlib_basedir MAY_SUPPLY_SYSCALLS_FALSE MAY_SUPPLY_SYSCALLS_TRUE @@ -3344,6 +3345,9 @@ else fi +abs_newlib_basedir=`cd "${newlib_basedir}" && pwd` + + if test "`cd $srcdir && pwd`" != "`pwd`"; then @@ -12005,7 +12009,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12008 "configure" +#line 12012 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12111,7 +12115,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12114 "configure" +#line 12118 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12370,7 +12374,6 @@ fi # 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${abs_newlib_basedir}/libc/include" else |