Commit 5aa82ace by Donn Terry Committed by Jeff Law

configure.in: Set and substitute quoted_cc_set_by_configure.

        * configure.in: Set and substitute quoted_cc_set_by_configure.
        * configure: Rebuilt.
        * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.

From-SVN: r26129
parent f6087261
Fri Apr 2 15:46:25 1999 Donn Terry (donn@interix.com)
* configure.in: Set and substitute quoted_cc_set_by_configure.
* configure: Rebuilt.
* Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
Fri Apr 2 14:35:45 1999 Stan Cox <scox@cygnus.com> Fri Apr 2 14:35:45 1999 Stan Cox <scox@cygnus.com>
* config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead * config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
......
...@@ -656,6 +656,7 @@ PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \ ...@@ -656,6 +656,7 @@ PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \
-e 's|%||g' -e 's|%||g'
SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \ SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \
"CC=`echo @cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`" "CC=`echo @cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
"CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
# #
# Lists of files for various purposes. # Lists of files for various purposes.
......
...@@ -3706,6 +3706,7 @@ rm -f symtest.tem ...@@ -3706,6 +3706,7 @@ rm -f symtest.tem
if $symbolic_link $srcdir/gcc.c symtest.tem 2>/dev/null if $symbolic_link $srcdir/gcc.c symtest.tem 2>/dev/null
then then
cc_set_by_configure="\$(CC)" cc_set_by_configure="\$(CC)"
quoted_cc_set_by_configure="\$(CC)"
stage_prefix_set_by_configure="\$(STAGE_PREFIX)" stage_prefix_set_by_configure="\$(STAGE_PREFIX)"
else else
rm -f symtest.tem rm -f symtest.tem
...@@ -3716,6 +3717,7 @@ else ...@@ -3716,6 +3717,7 @@ else
symbolic_link="cp" symbolic_link="cp"
fi fi
cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`" cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
quoted_cc_set_by_configure="\\\`case '\\\$(CC)' in stage*) echo '\\\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\\\$(CC)';; esac\\\`"
stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`" stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
fi fi
rm -f symtest.tem rm -f symtest.tem
...@@ -4225,6 +4227,7 @@ AC_SUBST(build_exeext) ...@@ -4225,6 +4227,7 @@ AC_SUBST(build_exeext)
AC_SUBST(build_install_headers_dir) AC_SUBST(build_install_headers_dir)
AC_SUBST(build_xm_file_list) AC_SUBST(build_xm_file_list)
AC_SUBST(cc_set_by_configure) AC_SUBST(cc_set_by_configure)
AC_SUBST(quoted_cc_set_by_configure)
AC_SUBST(cpp_install_dir) AC_SUBST(cpp_install_dir)
AC_SUBST(cpp_main) AC_SUBST(cpp_main)
AC_SUBST(dep_host_xmake_file) AC_SUBST(dep_host_xmake_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment