aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-05-10 02:06:36 +0000
committerFred Fish <fnf@specifix.com>1996-05-10 02:06:36 +0000
commit31ed312c118db558b54194e7f55e0a27e03a7909 (patch)
treed16f5a6a0db45b565ac2ff491ed99f158cd71937
parent9a739379c4035546b1c251f4d3656211e162a64b (diff)
downloadgdb-31ed312c118db558b54194e7f55e0a27e03a7909.zip
gdb-31ed312c118db558b54194e7f55e0a27e03a7909.tar.gz
gdb-31ed312c118db558b54194e7f55e0a27e03a7909.tar.bz2
* aclocal.m4: Remove unused definition of AC_C_CROSS.
* configure.in: Add powerpcle-*-solaris* host and target config so April 30th change does not get lost next time configure is rebuilt.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/aclocal.m422
-rw-r--r--gdb/configure.in2
3 files changed, 9 insertions, 22 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 64bb858..175e8ca 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
+
+ * aclocal.m4: Remove unused definition of AC_C_CROSS.
+ * configure.in: Add powerpcle-*-solaris* host and target config
+ so April 30th change does not get lost next time configure is
+ rebuilt.
+
Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
* Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
diff --git a/gdb/aclocal.m4 b/gdb/aclocal.m4
index d23d084..fac5095 100644
--- a/gdb/aclocal.m4
+++ b/gdb/aclocal.m4
@@ -40,28 +40,6 @@ if test "$ac_cv_os_lynx" = "yes" ; then
AC_MSG_RESULT(no)
fi
])
-#
-# Sometimes the native compiler is a bogus stub for gcc or /usr/ucb/cc. This
-# makes configure think it's cross compiling. If --target wasn't used, then
-# we can't configure, so something is wrong.
-AC_DEFUN(CY_AC_C_CROSS,
-[# If we cannot run a trivial program, we must be cross compiling.
-AC_MSG_CHECKING(whether cross-compiling)
-AC_CACHE_VAL(ac_cv_c_cross,[
-AC_TRY_RUN([
- main(){return(0);}],
- ac_cv_c_cross=no, ac_cv_c_cross=yes, ac_cv_c_cross=yes)
-])
-if test x"${target}" = x"${host}" -a x"${ac_cv_c_cross}" = x"yes"; then
- dnl this hack is cause the message is so long we don't call AC_MSG_ERROR
- echo "configure: error: You need to specify --target to cross compile," 1>&2;
- echo " or the native compiler is broken" 1>&2;
- exit 1;
-else
- cross_compiling=$ac_cv_c_cross
- AC_MSG_RESULT($ac_cv_c_cross)
-fi
-])
AC_DEFUN(CY_AC_PATH_TCLH, [
#
# Ok, lets find the tcl source trees so we can use the headers
diff --git a/gdb/configure.in b/gdb/configure.in
index 71ec9ec..3c38d8c 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -379,6 +379,7 @@ ns32k-utek-sysv*) gdb_host=merlin ;;
powerpc-*-aix*) gdb_host=aix ;;
powerpcle-*-cygwin32) gdb_host=cygwin32 ;;
+powerpcle-*-solaris*) gdb_host=solaris ;;
pn-*-*) gdb_host=pn ;;
pyramid-*-*) gdb_host=pyramid ;;
@@ -590,6 +591,7 @@ powerpc-*-netware*) gdb_target=ppc-nw
powerpc-*-aix4*) gdb_target=aix4 ;;
powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
+powerpcle-*-solaris*) gdb_target=solaris ;;
powerpc-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
gdb_target=ppc-sim
else