summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-18 07:11:24 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-18 07:11:24 +0000
commita26caf7c6699c3b7d2d7e6f0e8f86828f368840b (patch)
treef6876cb45996297a8a362a5adc30927b9a5ff782 /gcc/configure.ac
parent97b31bb596522c360526ed7ed3ad9a73c0daf27d (diff)
downloadgcc-a26caf7c6699c3b7d2d7e6f0e8f86828f368840b.tar.gz
* configure.ac: When generating auto-build.h, pass
--enable-languages to the sub-configure. Put quotes around ${program_transform_name} when generating name of as, ld, nm, objdump. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index f4b26375446..d117428ebbf 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1188,6 +1188,7 @@ else
saved_CFLAGS="${CFLAGS}"
CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
${realsrcdir}/configure \
+ --enable-languages=${enable_languages} \
--target=$target_alias --host=$build_alias --build=$build_alias
CFLAGS="${saved_CFLAGS}"
@@ -1622,7 +1623,7 @@ if test "x$gcc_cv_as" = x; then
if test "x$program_prefix" != xNONE; then
gcc_cv_as=${program_prefix}as$host_exeext
else
- gcc_cv_as=`echo as | sed ${program_transform_name}`$host_exeext
+ gcc_cv_as=`echo as | sed "${program_transform_name}"`$host_exeext
fi
test_dirs="$test_prefix/libexec/gcc/$target_noncanonical/$gcc_version \
@@ -1740,7 +1741,7 @@ if test "x$gcc_cv_ld" = x; then
if test "x$program_prefix" != xNONE; then
gcc_cv_ld=${program_prefix}ld$host_exeext
else
- gcc_cv_ld=`echo ld | sed ${program_transform_name}`$host_exeext
+ gcc_cv_ld=`echo ld | sed "${program_transform_name}"`$host_exeext
fi
test_dirs="$test_prefix/libexec/gcc/$target_noncanonical/$gcc_version \
@@ -1796,7 +1797,7 @@ elif test -f $gcc_cv_binutils_srcdir/configure.in \
elif test "x$program_prefix" != xNONE; then
gcc_cv_nm=${program_prefix}nm$host_exeext
else
- gcc_cv_nm=`echo nm | sed ${program_transform_name}`$host_exeext
+ gcc_cv_nm=`echo nm | sed "${program_transform_name}"`$host_exeext
fi
case $in_tree_nm in
yes) AC_MSG_RESULT("newly built nm") ;;
@@ -1820,7 +1821,7 @@ elif test "x$program_prefix" != xNONE; then
gcc_cv_objdump=${program_prefix}objdump$host_exeext
else
gcc_cv_objdump=`echo objdump | \
- sed ${program_transform_name}`$host_exeext
+ sed "${program_transform_name}"`$host_exeext
fi
case $in_tree_objdump in
yes) AC_MSG_RESULT("newly built objdump") ;;