aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-02-18 07:11:24 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-02-18 07:11:24 +0000
commit9c56033feb5c28ac49e8da1c28ce73b8761c2bef (patch)
treef6876cb45996297a8a362a5adc30927b9a5ff782
parent80bcb4d26339c1f4056313de1622c80ba8d4abed (diff)
downloadgcc-9c56033feb5c28ac49e8da1c28ce73b8761c2bef.zip
gcc-9c56033feb5c28ac49e8da1c28ce73b8761c2bef.tar.gz
gcc-9c56033feb5c28ac49e8da1c28ce73b8761c2bef.tar.bz2
configure.ac: When generating auto-build.h, pass --enable-languages to the sub-configure.
* 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. From-SVN: r78012
-rw-r--r--gcc/ChangeLog8
-rwxr-xr-xgcc/configure9
-rw-r--r--gcc/configure.ac9
3 files changed, 18 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20805f7..1b80454 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2004-02-17 Geoffrey Keating <geoffk@apple.com>
+
+ * 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.
+
2004-02-17 Matt Kraai <kraai@alumni.cmu.edu>
* Makefile.in (s-check, s-config, s-conditions, s-flags)
diff --git a/gcc/configure b/gcc/configure
index d751cac..7f74ba6 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -8893,6 +8893,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}"
@@ -9517,7 +9518,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 \
@@ -9634,7 +9635,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 \
@@ -9693,7 +9694,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) echo "$as_me:$LINENO: result: \"newly built nm\"" >&5
@@ -9720,7 +9721,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) echo "$as_me:$LINENO: result: \"newly built objdump\"" >&5
diff --git a/gcc/configure.ac b/gcc/configure.ac
index f4b2637..d117428 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") ;;