aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-11-07 19:04:29 +0000
committerIan Lance Taylor <ian@airs.com>1995-11-07 19:04:29 +0000
commitae0daa111e0b7a949c7459faa8d81b63c95d59b1 (patch)
treeeb08fe9d8a9345a249034aab7360b5f014258af1
parent6bc200f28d432b38be640031768454049f91a3ca (diff)
downloadgdb-ae0daa111e0b7a949c7459faa8d81b63c95d59b1.zip
gdb-ae0daa111e0b7a949c7459faa8d81b63c95d59b1.tar.gz
gdb-ae0daa111e0b7a949c7459faa8d81b63c95d59b1.tar.bz2
* configure.in: Don't treat rs6000-*-lynx* specially.
* configure: Rebuild. * config/rslynx: Remove. * Makefile.in: Remove @target_makefile_fragment@.
-rw-r--r--binutils/.Sanitize1
-rw-r--r--binutils/ChangeLog7
-rwxr-xr-xbinutils/configure37
-rw-r--r--binutils/configure.in8
4 files changed, 23 insertions, 30 deletions
diff --git a/binutils/.Sanitize b/binutils/.Sanitize
index 5fbc066..a3fb422 100644
--- a/binutils/.Sanitize
+++ b/binutils/.Sanitize
@@ -43,7 +43,6 @@ bucomm.h
coffdump.c
coffgrok.c
coffgrok.h
-config
config.in
configure
configure.bat
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 98f72da..8b0ef6b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+Tue Nov 7 14:02:57 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Don't treat rs6000-*-lynx* specially.
+ * configure: Rebuild.
+ * config/rslynx: Remove.
+ * Makefile.in: Remove @target_makefile_fragment@.
+
Mon Nov 6 15:00:50 1995 Ian Lance Taylor <ian@cygnus.com>
* bucomm.h: Include <sys/types.h>.
diff --git a/binutils/configure b/binutils/configure
index c71b90b..e01dfb6 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -688,10 +688,12 @@ cross_compiling=$ac_cv_c_cross
echo "$ac_t""$ac_cv_c_cross" 1>&6
# Put a plausible default for CC_FOR_BUILD in Makefile.
-if test "x$cross_compiling" = "xno"; then
- CC_FOR_BUILD='$(CC)'
-else
- CC_FOR_BUILD=gcc
+if test -z "$CC_FOR_BUILD"; then
+ if test "x$cross_compiling" = "xno"; then
+ CC_FOR_BUILD='$(CC)'
+ else
+ CC_FOR_BUILD=gcc
+ fi
fi
@@ -710,7 +712,7 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 714 "configure"
+#line 716 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -724,7 +726,7 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 728 "configure"
+#line 730 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -757,7 +759,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 761 "configure"
+#line 763 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -790,7 +792,7 @@ if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 794 "configure"
+#line 796 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/wait.h>
@@ -832,7 +834,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 836 "configure"
+#line 838 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -882,7 +884,7 @@ if eval "test \"`echo '$''{'bu_cv_decl_time_t_time_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 886 "configure"
+#line 888 "configure"
#include "confdefs.h"
#include <time.h>
int main() { return 0; }
@@ -914,7 +916,7 @@ if eval "test \"`echo '$''{'bu_cv_decl_time_t_types_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 918 "configure"
+#line 920 "configure"
#include "confdefs.h"
#include <sys/types.h>
int main() { return 0; }
@@ -948,7 +950,7 @@ if eval "test \"`echo '$''{'bu_cv_header_utime_h'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 952 "configure"
+#line 954 "configure"
#include "confdefs.h"
#include <sys/types.h>
#ifdef HAVE_TIME_H
@@ -984,7 +986,7 @@ if eval "test \"`echo '$''{'bu_cv_decl_needed_fprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 988 "configure"
+#line 990 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() { return 0; }
@@ -1022,7 +1024,6 @@ esac
# target-specific stuff:
# Canonicalize the secondary target names.
-target_makefile_fragment=/dev/null
if test -n "$enable_targets"; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
@@ -1034,14 +1035,8 @@ if test -n "$enable_targets"; then
canon_targets="$canon_targets $targ"
fi
done
-else
- # If our target is rs6000 _and nothing else_ then we build only nm!
- case $target in
- rs6000-*-lynx*) target_makefile_fragment=${srcdir}/config/rslynx ;;
- esac
fi
-
all_targets=false
BUILD_NLMCONV=
NLMCONV_DEFS=
@@ -1232,8 +1227,6 @@ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@CC_FOR_BUILD@%$CC_FOR_BUILD%g
s%@CPP@%$CPP%g
-/@target_makefile_fragment@/r $target_makefile_fragment
-s%@target_makefile_fragment@%%g
s%@NLMCONV_DEFS@%$NLMCONV_DEFS%g
s%@BUILD_NLMCONV@%$BUILD_NLMCONV%g
s%@BUILD_SRCONV@%$BUILD_SRCONV%g
diff --git a/binutils/configure.in b/binutils/configure.in
index b432c1a..7c23cd3 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -43,6 +43,7 @@ AC_PROG_INSTALL
BFD_CC_FOR_BUILD
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h)
+AC_HEADER_SYS_WAIT
AC_CHECK_FUNCS(sbrk utimes)
AC_MSG_CHECKING(for time_t in time.h)
@@ -94,7 +95,6 @@ BFD_BINARY_FOPEN
# target-specific stuff:
# Canonicalize the secondary target names.
-target_makefile_fragment=/dev/null
if test -n "$enable_targets"; then
for targ in `echo $enable_targets | sed 's/,/ /g'`
do
@@ -106,13 +106,7 @@ if test -n "$enable_targets"; then
canon_targets="$canon_targets $targ"
fi
done
-else
- # If our target is rs6000 _and nothing else_ then we build only nm!
- case $target in
- rs6000-*-lynx*) target_makefile_fragment=${srcdir}/config/rslynx ;;
- esac
fi
-AC_SUBST_FILE(target_makefile_fragment)
all_targets=false
BUILD_NLMCONV=