aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in29
1 files changed, 16 insertions, 13 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 1dd3dd9..e0c3fbc 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -3467,14 +3467,14 @@ fi
# auto-host.h is the file containing items generated by autoconf and is
# the first file included by config.h.
null_defines=
-host_xm_file="auto-host.h ${host_xm_file}"
+host_xm_file="auto-host.h gansidecl.h ${host_xm_file}"
# If host=build, it is correct to have hconfig include auto-host.h
# as well. If host!=build, we are in error and need to do more
# work to find out the build config parameters.
if test x$host = x$build
then
- build_xm_file="auto-host.h ${build_xm_file}"
+ build_xm_file="auto-host.h gansidecl.h ${build_xm_file}"
else
# We create a subdir, then run autoconf in the subdir.
# To prevent recursion we set host and build for the new
@@ -3496,9 +3496,12 @@ else
mv auto-host.h ../auto-build.h
cd ..
rm -rf $tempdir
- build_xm_file="auto-build.h ${build_xm_file}"
+ build_xm_file="auto-build.h gansidecl.h ${build_xm_file}"
fi
+xm_file="gansidecl.h ${xm_file}"
+tm_file="gansidecl.h ${tm_file}"
+
vars="host_xm_file tm_file xm_file build_xm_file"
links="config.h tm.h tconfig.h hconfig.h"
defines="host_xm_defines null_defines xm_defines build_xm_defines"
@@ -3605,28 +3608,28 @@ out_object_file=`basename $out_file .c`.o
tm_file_list=
for f in $tm_file; do
- tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
+ if test $f != "gansidecl.h" ; then
+ tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
+ else
+ tm_file_list="${tm_file_list} $f"
+ fi
done
host_xm_file_list=
for f in $host_xm_file; do
- if test $f != "auto-host.h"; then
+ if test $f != "auto-host.h" -a $f != "gansidecl.h" ; then
host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
else
- host_xm_file_list="${host_xm_file_list} auto-host.h"
+ host_xm_file_list="${host_xm_file_list} $f"
fi
done
build_xm_file_list=
for f in $build_xm_file; do
- if test $f != "auto-build.h"; then
- if test $f != "auto-host.h"; then
- build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
- else
- build_xm_file_list="${build_xm_file_list} auto-host.h"
- fi
+ if test $f != "auto-build.h" -a $f != "auto-host.h" -a $f != "gansidecl.h" ; then
+ build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
else
- build_xm_file_list="${build_xm_file_list} auto-build.h"
+ build_xm_file_list="${build_xm_file_list} $f"
fi
done