summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 08:58:02 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 08:58:02 +0000
commit9172ac9a5ea3e606d0b464ebd4beba0523d4d0bd (patch)
tree4b0d4dca2f06c192de56977cbd4207b74e1b0e53 /gcc/configure
parentb63c5ef2ef3d956959b995b7d4853527a7d1f66c (diff)
downloadgcc-9172ac9a5ea3e606d0b464ebd4beba0523d4d0bd.tar.gz
2012-01-09 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 182999 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183004 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure15
1 files changed, 13 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index ba6156f0087..4dd9faa335f 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -637,6 +637,7 @@ host_xm_defines
host_xm_include_list
host_xm_file_list
host_exeext
+gcc_gxx_include_dir_add_sysroot
gcc_gxx_include_dir
gcc_config_arguments
float_h_file
@@ -3313,6 +3314,15 @@ if test x${gcc_gxx_include_dir} = x; then
fi
fi
+gcc_gxx_include_dir_add_sysroot=0
+if test "${with_sysroot+set}" = set; then
+ gcc_gxx_without_sysroot=`expr "${gcc_gxx_include_dir}" : "${with_sysroot}"'\(.*\)'`
+ if test "${gcc_gxx_without_sysroot}"; then
+ gcc_gxx_include_dir="${gcc_gxx_without_sysroot}"
+ gcc_gxx_include_dir_add_sysroot=1
+ fi
+fi
+
# Check whether --with-cpp_install_dir was given.
if test "${with_cpp_install_dir+set}" = set; then :
@@ -18106,7 +18116,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 18109 "configure"
+#line 18119 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -18212,7 +18222,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 18215 "configure"
+#line 18225 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -27054,6 +27064,7 @@ fi
+
# Echo link setup.
if test x${build} = x${host} ; then
if test x${host} = x${target} ; then