Determine ARCHITECTURE from program if possible.

Rename common's generated config.h to cconfig.h.
This commit is contained in:
Andrew Cagney 1997-09-15 08:11:50 +00:00
parent 4bdab45adb
commit 08547b1f1d
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,15 @@
Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
* aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
configure.in: Output to cconfig.h instead of config.h.
* configure: Regenerated to track ../common/aclocal.m4 changes.
Mon Sep 15 15:39:28 1997 Andrew Cagney <cagney@b1.cygnus.com>
* sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
BFD if known.
Tue Sep 9 21:46:46 1997 Felix Lee <flee@cygnus.com>
* callback.c (os_write): divert stdout and stderr to their

View file

@ -3,7 +3,7 @@ AC_PREREQ(2.5)dnl
AC_INIT(Makefile.in)
# This is intended for use by the target specific directories, and by us.
SIM_AC_COMMON
SIM_AC_COMMON(cconfig.h)
# Put a useful copy of CPP_FOR_TARGET in Makefile.
# This is only used to build the target values header files. These files are
@ -37,4 +37,4 @@ AC_SUBST(TARGET_SUBDIR)
AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h)
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac])