diff options
-rw-r--r-- | sim/ppc/ChangeLog | 8 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 2 | ||||
-rwxr-xr-x | sim/ppc/configure | 6 | ||||
-rw-r--r-- | sim/ppc/configure.in | 3 |
4 files changed, 17 insertions, 2 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 02dda8c..df1ca62 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,11 @@ +Thu Jan 30 11:23:20 1997 Andrew Cagney <cagney@kremvax.tpgi.com.au> + + * Makefile.in (BUILT_SRC_WO_CONFIG): Change targ-vals.* to + @sim_targ_vals@ + + * configure.in (sim_callback, sim_targ_vals): Set sim_targ_valls + if common callback is present. + Wed Jan 29 12:32:41 1997 Michael Meissner <meissner@tiktok.cygnus.com> * configure.in (sim_callback): If the gdb is post 4.16, configure diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 2917624..365164e 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -223,7 +223,7 @@ BUILT_SRC_WO_CONFIG = \ pk.h \ hw.h hw.c \ filter_host.c \ - targ-vals.h targ-map.c targ-vals.def + @sim_targ_vals@ BUILT_SRC = \ $(BUILT_SRC_WO_CONFIG) \ diff --git a/sim/ppc/configure b/sim/ppc/configure index 3ca1f5e..c960508 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -2835,9 +2835,11 @@ echo "configure:2835: checking for common simulator directory" >&5 if test -e "${srcdir}/../common/callback.c"; then echo "$ac_t""yes" 1>&6 sim_callback="callback.o targ-map.o" + sim_targ_vals="targ-vals.h targ-map.c targ-vals.def" else echo "$ac_t""no" 1>&6 sim_callback="" + sim_targ_vals="" fi @@ -2848,7 +2850,7 @@ AR=${AR-ar} # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2852: checking for $ac_word" >&5 +echo "configure:2854: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2915,6 +2917,7 @@ fi + trap '' 1 2 15 cat > confcache <<\EOF # This file is a shell script that caches the results of configure @@ -3110,6 +3113,7 @@ s%@sim_stdio@%$sim_stdio%g s%@sim_termio@%$sim_termio%g s%@sim_devzero@%$sim_devzero%g s%@sim_callback@%$sim_callback%g +s%@sim_targ_vals@%$sim_targ_vals%g CEOF EOF diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in index daef6e2..d6a319f 100644 --- a/sim/ppc/configure.in +++ b/sim/ppc/configure.in @@ -661,9 +661,11 @@ AC_MSG_CHECKING(for common simulator directory) if test -e "${srcdir}/../common/callback.c"; then AC_MSG_RESULT(yes) sim_callback="callback.o targ-map.o" + sim_targ_vals="targ-vals.h targ-map.c targ-vals.def" else AC_MSG_RESULT(no) sim_callback="" + sim_targ_vals="" fi AC_SUBST(CC_FOR_BUILD) @@ -712,6 +714,7 @@ AC_SUBST(sim_stdio) AC_SUBST(sim_termio) AC_SUBST(sim_devzero) AC_SUBST(sim_callback) +AC_SUBST(sim_targ_vals) AC_OUTPUT(Makefile, [case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) |