aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-10 11:46:58 +0100
committerMartin Liska <mliska@suse.cz>2022-01-17 22:12:14 +0100
commitcd9912b5930961ffb2832f67a4d18a7b92c06e51 (patch)
tree395a20a574de81fa525814c419892337e78498ea /gcc/configure
parente53b6e564aab615703ff2f9e8406a3953f0a3785 (diff)
downloadgcc-cd9912b5930961ffb2832f67a4d18a7b92c06e51.zip
gcc-cd9912b5930961ffb2832f67a4d18a7b92c06e51.tar.gz
gcc-cd9912b5930961ffb2832f67a4d18a7b92c06e51.tar.bz2
Manual changes for .cc renaming.
gcc/ChangeLog: * Makefile.in: Rename .c names to .cc. * config.gcc: Likewise. * configure: Regenerate. Likewise. * configure.ac: Likewise. * gengtype.cc (set_gc_used): Likewise. (source_dot_c_frul): Likewise. (source_dot_cc_frul): Likewise. (struct file_rule_st): Likewise. (close_output_files): Likewise. * config/avr/t-avr: Use CXXFLAGS_* and CXX_FOR_BUILD. gcc/ada/ChangeLog: * Makefile.rtl: Rename .c names to .cc. * gcc-interface/Make-lang.in: Likewise. * gcc-interface/Makefile.in: Likewise. libgcc/ChangeLog: * libgcov-driver.c: Rename .c names to .cc. libcpp/ChangeLog: * Makefile.in: Rename .c names to .cc.
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/configure b/gcc/configure
index ff570f7..fd72270 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -592,7 +592,7 @@ PACKAGE_STRING=
PACKAGE_BUGREPORT=
PACKAGE_URL=
-ac_unique_file="tree.c"
+ac_unique_file="tree.cc"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -8395,7 +8395,7 @@ fi
test -n "$AWK" && break
done
-# We need awk to create options.c and options.h.
+# We need awk to create options.cc and options.h.
# Bail out if it's missing.
case ${AWK} in
"") as_fn_error $? "can't build without awk, bailing out" "$LINENO" 5 ;;
@@ -12123,7 +12123,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
# On AIX 5.2, <ldfcn.h> conflicts with <fcntl.h>, as both define incompatible
# FREAD and FWRITE macros. Fortunately, for GCC's single usage of ldgetname
-# in collect2.c, <fcntl.h> isn't visible, but the configure test below needs
+# in collect2.cc, <fcntl.h> isn't visible, but the configure test below needs
# to undef these macros to get the correct value for HAVE_DECL_LDGETNAME.
for ac_func in ldgetname
do
@@ -12699,7 +12699,7 @@ if test x$md_file = x
then md_file=$cpu_type/$cpu_type.md; fi
if test x$out_file = x
-then out_file=$cpu_type/$cpu_type.c; fi
+then out_file=$cpu_type/$cpu_type.cc; fi
if test x"$tmake_file" = x
then tmake_file=$cpu_type/t-$cpu_type
@@ -13351,8 +13351,8 @@ do
done
tmake_file="${tmake_file_}${omp_device_property_tmake_file}"
-out_object_file=`basename $out_file .c`.o
-common_out_object_file=`basename $common_out_file .c`.o
+out_object_file=`basename $out_file .cc`.o
+common_out_object_file=`basename $common_out_file .cc`.o
tm_file_list="options.h"
tm_include_list="options.h insn-constants.h"
@@ -32319,7 +32319,7 @@ _ACEOF
# Generate gcc-driver-name.h containing GCC_DRIVER_NAME for the benefit
-# of jit/jit-playback.c.
+# of jit/jit-playback.cc.
gcc_driver_version=`eval "${get_gcc_base_ver} $srcdir/BASE-VER"`
echo "gcc_driver_version: ${gcc_driver_version}"
cat > gcc-driver-name.h <<EOF