aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-27 19:31:29 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-27 19:31:29 +0000
commit55626bf0869ae0199da7a57613912e46cf839c9f (patch)
tree423fece67f164d3d52af783424647d9eace4f949 /bfd/configure
parent6c7b309055066861281ffdb0b8e7d64d5227257f (diff)
downloadgdb-55626bf0869ae0199da7a57613912e46cf839c9f.zip
gdb-55626bf0869ae0199da7a57613912e46cf839c9f.tar.gz
gdb-55626bf0869ae0199da7a57613912e46cf839c9f.tar.bz2
Tue Feb 27 14:17:31 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* m68klinux.c: New file. * hosts/m68klinux.h: New file. * config.bfd (m68*-*-linuxaout*, m68*-*-linux*): New targets. * configure.in (m68*-*-linux*): New native host. (m68klinux_vec): New vector. * configure: Rebuild. * targets.c (m68klinux_vec): Declare. * i386linux.c (bfd_i386linux_size_dynamic_sections): Renamed from bfd_linux_size_dynmic_sections to avoid clash with m68klinux.c. * bfd-in.h (bfd_i386linux_size_dynamic_sections): Rename declaration from bfd_linux_size_dynamic_sections. (bfd_m68klinux_size_dynamic_sections): Declare. * bfd-in2.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD32_BACKENDS): Add m68klinux.o. (BFD32_BACKENDS_CFILES): Add m68klinux.c.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure24
1 files changed, 16 insertions, 8 deletions
diff --git a/bfd/configure b/bfd/configure
index be3d0b1..7aeefe4 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -727,9 +727,6 @@ if test "${shared}" = "true"; then
fi
fi
-# Permit host specific settings.
-. ${srcdir}/configure.host
-
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
@@ -806,6 +803,9 @@ else
fi
+# Permit host specific settings.
+. ${srcdir}/configure.host
+
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
@@ -1170,7 +1170,7 @@ done
case "${host}" in
-i[345]86-*-msdos* | i[345]86-*-go32* | i[345]86-*-win32)
+i[345]86-*-msdos* | i[345]86-*-go32* | *-*-cygwin32)
cat >> confdefs.h <<\EOF
#define USE_BINARY_FOPEN 1
EOF
@@ -1401,6 +1401,13 @@ EOF
EOF
;;
+ m68*-*-linux*)
+ COREFILE=trad-core.o
+ cat >> confdefs.h <<\EOF
+#define TRAD_HEADER "hosts/m68klinux.h"
+EOF
+
+ ;;
m68*-motorola-sysv*)
COREFILE=trad-core.o
cat >> confdefs.h <<\EOF
@@ -1502,7 +1509,7 @@ EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1506 "configure"
+#line 1513 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main() { return 0; }
@@ -1677,6 +1684,7 @@ do
ieee_vec) tb="$tb ieee.o" ;;
m68kcoff_vec) tb="$tb coff-m68k.o cofflink.o" ;;
m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o cofflink.o" ;;
+ m68klinux_vec) tb="$tb m68klinux.o aout32.o stab-syms.o" ;;
m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;;
m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o stab-syms.o" ;;
m68knetbsd_vec) tb="$tb m68knetbsd.o aout32.o stab-syms.o" ;;
@@ -1789,7 +1797,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 1793 "configure"
+#line 1801 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -1841,7 +1849,7 @@ else
ac_cv_func_mmap=no
else
cat > conftest.$ac_ext <<EOF
-#line 1845 "configure"
+#line 1853 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test. */
@@ -1935,7 +1943,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 1939 "configure"
+#line 1947 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */