aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-08-25 16:05:32 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-08-25 16:05:32 +0000
commit13ba8b69271683f5cc4c723a6dbd1070b9aa671f (patch)
tree088a7d9a9502a55eadd80e4bd3315fd0566d0922 /gdb/configure
parent69cc18d2f050933ef15a2bc601be6cdfa2f8f0f4 (diff)
downloadgdb-13ba8b69271683f5cc4c723a6dbd1070b9aa671f.zip
gdb-13ba8b69271683f5cc4c723a6dbd1070b9aa671f.tar.gz
gdb-13ba8b69271683f5cc4c723a6dbd1070b9aa671f.tar.bz2
Only build PowerPC simulator if target is powerpc*-*-eabisim
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure62
1 files changed, 29 insertions, 33 deletions
diff --git a/gdb/configure b/gdb/configure
index 65b76b3..c8721d3 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -1,7 +1,7 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.4
+# Generated automatically using autoconf version 2.3
# Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
@@ -222,7 +222,7 @@ EOF
verbose=yes ;;
-version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.4"
+ echo "configure generated by autoconf version 2.3"
exit 0 ;;
-with-* | --with-*)
@@ -527,15 +527,13 @@ fi
rm -f conftest*
ac_cv_prog_CPP="$CPP"
fi
- CPP="$ac_cv_prog_CPP"
-else
- ac_cv_prog_CPP="$CPP"
fi
+CPP="$ac_cv_prog_CPP"
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for AIX""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 539 "configure"
+#line 537 "configure"
#include "confdefs.h"
#ifdef _AIX
yes
@@ -562,7 +560,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 566 "configure"
+#line 564 "configure"
#include "confdefs.h"
#include <minix/config.h>
EOF
@@ -624,7 +622,6 @@ fi
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
- ac_dir=`cd $ac_dir; pwd`
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -725,7 +722,6 @@ fi
ac_aux_dir=
for ac_dir in `cd $srcdir;pwd`/.. $srcdir/`cd $srcdir;pwd`/..; do
- ac_dir=`cd $ac_dir; pwd`
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -856,7 +852,7 @@ else
ac_cv_c_cross=yes
else
cat > conftest.$ac_ext <<EOF
-#line 860 "configure"
+#line 856 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
@@ -877,7 +873,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 881 "configure"
+#line 877 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
@@ -899,7 +895,7 @@ rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 903 "configure"
+#line 899 "configure"
#include "confdefs.h"
#include <string.h>
EOF
@@ -917,7 +913,7 @@ fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
-#line 921 "configure"
+#line 917 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
@@ -938,7 +934,7 @@ if test "$cross_compiling" = yes; then
ac_cv_header_stdc=no
else
cat > conftest.$ac_ext <<EOF
-#line 942 "configure"
+#line 938 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
@@ -975,7 +971,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 979 "configure"
+#line 975 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -1008,7 +1004,7 @@ if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1012 "configure"
+#line 1008 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -1066,7 +1062,7 @@ else
ac_cv_func_mmap=no
else
cat > conftest.$ac_ext <<EOF
-#line 1070 "configure"
+#line 1066 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test. */
@@ -1229,12 +1225,10 @@ EOF
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
eval `make acfindx 2>/dev/null | grep -v make`
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
- for ac_extension in a so sl; do
- if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
- test -f $ac_im_libdir/libX11.$ac_extension; then
- ac_im_usrlibdir=$ac_im_libdir; break
- fi
- done
+ if test ! -f $ac_im_usrlibdir/libX11.a && test -f $ac_im_libdir/libX11.a
+ then
+ ac_im_usrlibdir=$ac_im_libdir
+ fi
# Screen out bogus values from the imake configuration.
case "$ac_im_incroot" in
/usr/include) ;;
@@ -1254,7 +1248,7 @@ test -z "$x_direct_test_library" && x_direct_test_library=Xt
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h
cat > conftest.$ac_ext <<EOF
-#line 1258 "configure"
+#line 1252 "configure"
#include "confdefs.h"
#include <$x_direct_test_include>
EOF
@@ -1317,7 +1311,7 @@ rm -f conftest*
ac_save_LIBS="$LIBS"
LIBS="-l$x_direct_test_library $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1321 "configure"
+#line 1315 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1435,7 +1429,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lICE $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1439 "configure"
+#line 1433 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1478,7 +1472,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldnet $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1482 "configure"
+#line 1476 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1512,7 +1506,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldnet_stub $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1516 "configure"
+#line 1510 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1551,7 +1545,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1555 "configure"
+#line 1549 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1589,7 +1583,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 1593 "configure"
+#line 1587 "configure"
#include "confdefs.h"
int main() { return 0; }
@@ -1646,7 +1640,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1650 "configure"
+#line 1644 "configure"
#include "confdefs.h"
#include <tk.h>
EOF
@@ -1748,7 +1742,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1752 "configure"
+#line 1746 "configure"
#include "confdefs.h"
#include <tclInt.h>
EOF
@@ -2141,7 +2135,9 @@ powerpc-*-netware*) gdb_target=ppc-nw
powerpc-*-aix4*) gdb_target=aix4 ;;
powerpc-*-aix*) gdb_target=aix ;;
+powerpc-*-eabisim*) gdb_target=ppc-sim ;;
powerpc-*-eabi*) gdb_target=ppc-eabi ;;
+powerpcle-*-eabisim*) gdb_target=ppcle-sim ;;
powerpcle-*-eabi*) gdb_target=ppcle-eabi ;;
pyramid-*-*) gdb_target=pyramid ;;
@@ -2341,7 +2337,7 @@ do
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.4"
+ echo "$CONFIG_STATUS generated by autoconf version 2.3"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;