aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/configure
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
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')
-rwxr-xr-xsim/ppc/configure14
1 files changed, 13 insertions, 1 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure
index 5dd42c8..3ca1f5e 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -2830,6 +2830,16 @@ else
sim_devzero=""
fi
+echo $ac_n "checking for common simulator directory""... $ac_c" 1>&6
+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"
+else
+ echo "$ac_t""no" 1>&6
+ sim_callback=""
+fi
+
@@ -2838,7 +2848,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:2842: checking for $ac_word" >&5
+echo "configure:2852: 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
@@ -2904,6 +2914,7 @@ fi
+
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
@@ -3098,6 +3109,7 @@ s%@sim_model_issue@%$sim_model_issue%g
s%@sim_stdio@%$sim_stdio%g
s%@sim_termio@%$sim_termio%g
s%@sim_devzero@%$sim_devzero%g
+s%@sim_callback@%$sim_callback%g
CEOF
EOF