aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure.in
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-01-29 17:42:14 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-01-29 17:42:14 +0000
commitd2e3d3af165e073001e9aa5de46bb823af0a2647 (patch)
tree84df8739c2856f4e7a7d133d58d7f8f5aba2d8ae /sim/ppc/configure.in
parent33a4c28dc0f68079382410df6fee748b5c500e74 (diff)
downloadgdb-d2e3d3af165e073001e9aa5de46bb823af0a2647.zip
gdb-d2e3d3af165e073001e9aa5de46bb823af0a2647.tar.gz
gdb-d2e3d3af165e073001e9aa5de46bb823af0a2647.tar.bz2
build callback and targ-map from the common directory
Diffstat (limited to 'sim/ppc/configure.in')
-rw-r--r--sim/ppc/configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in
index 1d34ab4..daef6e2 100644
--- a/sim/ppc/configure.in
+++ b/sim/ppc/configure.in
@@ -656,6 +656,16 @@ else
sim_devzero=""
fi
+dnl Figure out if we are in the new Cygnus tree with a common directory or not
+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"
+else
+ AC_MSG_RESULT(no)
+ sim_callback=""
+fi
+
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS)
AC_SUBST(HDEFINES)
@@ -701,6 +711,7 @@ AC_SUBST(sim_model_issue)
AC_SUBST(sim_stdio)
AC_SUBST(sim_termio)
AC_SUBST(sim_devzero)
+AC_SUBST(sim_callback)
AC_OUTPUT(Makefile,
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])