Commit db81d74a by Richard Henderson Committed by Richard Henderson

configure.in (build_xm_file): Add auto-config.h if host=build.

* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.

From-SVN: r17483
parent f745c7a2
Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
* configure.in (build_xm_file): Add auto-config.h if host=build.
(host_xm_file_list): Don't add $(srcdir) to auto-config.h.
(build_xm_file_list): Likewise.
* configure: Rebuild.
Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* recog.c (validate_replace_rtx_1): Only perform substitutions
......
......@@ -2826,6 +2826,15 @@ fi
# auto-conf.h is the file containing items generated by autoconf and is
# the first file included by config.h.
host_xm_file="auto-config.h ${host_xm_file}"
# If host=build, it is correct to have hconfig include auto-conf.h
# as well. If host!=build, we are in error and need to do more
# work to find out the build config parameters.
if [[ x$host = x$build ]]
then
build_xm_file="auto-config.h ${build_xm_file}"
fi
vars="host_xm_file tm_file xm_file build_xm_file"
links="config.h tm.h tconfig.h hconfig.h"
......@@ -2917,12 +2926,20 @@ done
host_xm_file_list=
for f in $host_xm_file; do
host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
if test $f != "auto-config.h"; then
host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
else
host_xm_file_list="${host_xm_file_list} auto-config.h"
fi
done
build_xm_file_list=
for f in $build_xm_file; do
build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
if test $f != "auto-config.h"; then
build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
else
build_xm_file_list="${build_xm_file_list} auto-config.h"
fi
done
# Define macro CROSS_COMPILE in compilation
......
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