* configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
doesn't need opcodes. If configuring shared, opcodes needs bfd. * configure: Rebuild.
This commit is contained in:
parent
52c6bc4d97
commit
7c2fadd1af
|
@ -1,3 +1,9 @@
|
||||||
|
Thu Feb 15 11:20:18 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* configure.in: Accept i686. From H.J. Lu <hjl@zoom.com>: i386
|
||||||
|
doesn't need opcodes. If configuring shared, opcodes needs bfd.
|
||||||
|
* configure: Rebuild.
|
||||||
|
|
||||||
Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
|
Wed Feb 14 16:33:12 1996 Martin Anantharaman <martin@mail.imech.uni-duisburg.de>
|
||||||
|
|
||||||
* read.c (s_mri_sect): Don't return '\0' in type. Set all
|
* read.c (s_mri_sect): Don't return '\0' in type. Set all
|
||||||
|
|
|
@ -717,7 +717,7 @@ for this_target in $target $canon_targets ; do
|
||||||
armeb) cpu_type=arm endian=big ;;
|
armeb) cpu_type=arm endian=big ;;
|
||||||
arm*) cpu_type=arm endian=little ;;
|
arm*) cpu_type=arm endian=little ;;
|
||||||
hppa*) cpu_type=hppa ;;
|
hppa*) cpu_type=hppa ;;
|
||||||
i[45]86) cpu_type=i386 ;;
|
i[456]86) cpu_type=i386 ;;
|
||||||
m680[012346]0) cpu_type=m68k ;;
|
m680[012346]0) cpu_type=m68k ;;
|
||||||
m68008) cpu_type=m68k ;;
|
m68008) cpu_type=m68k ;;
|
||||||
m683??) cpu_type=m68k ;;
|
m683??) cpu_type=m68k ;;
|
||||||
|
@ -942,8 +942,15 @@ for this_target in $target $canon_targets ; do
|
||||||
|
|
||||||
# do we need the opcodes library?
|
# do we need the opcodes library?
|
||||||
case ${cpu_type} in
|
case ${cpu_type} in
|
||||||
alpha | vax) ;;
|
alpha | vax | i386)
|
||||||
*) need_opcodes=yes ;;
|
;;
|
||||||
|
*)
|
||||||
|
need_opcodes=yes
|
||||||
|
if test "${shared}" = "true"; then
|
||||||
|
# A shared libopcodes must be linked against libbfd.
|
||||||
|
need_bfd=yes
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
test -n "$want_sparc_v9" && cat >> confdefs.h <<\EOF
|
test -n "$want_sparc_v9" && cat >> confdefs.h <<\EOF
|
||||||
|
@ -1457,7 +1464,7 @@ else
|
||||||
# On the NeXT, cc -E runs the code through the compiler's parser,
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
||||||
# not just through cpp.
|
# not just through cpp.
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1461 "configure"
|
#line 1468 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
|
@ -1471,7 +1478,7 @@ else
|
||||||
rm -rf conftest*
|
rm -rf conftest*
|
||||||
CPP="${CC-cc} -E -traditional-cpp"
|
CPP="${CC-cc} -E -traditional-cpp"
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1475 "configure"
|
#line 1482 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
Syntax Error
|
Syntax Error
|
||||||
|
@ -1504,7 +1511,7 @@ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1508 "configure"
|
#line 1515 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <$ac_hdr>
|
#include <$ac_hdr>
|
||||||
EOF
|
EOF
|
||||||
|
@ -1556,7 +1563,7 @@ else
|
||||||
ac_cv_c_cross=yes
|
ac_cv_c_cross=yes
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1560 "configure"
|
#line 1567 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
main(){return(0);}
|
main(){return(0);}
|
||||||
EOF
|
EOF
|
||||||
|
@ -1580,7 +1587,7 @@ if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1584 "configure"
|
#line 1591 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <alloca.h>
|
#include <alloca.h>
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
@ -1612,7 +1619,7 @@ if eval "test \"`echo '$''{'ac_cv_func_alloca'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1616 "configure"
|
#line 1623 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
@ -1671,7 +1678,7 @@ if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1675 "configure"
|
#line 1682 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#if defined(CRAY) && ! defined(CRAY2)
|
#if defined(CRAY) && ! defined(CRAY2)
|
||||||
webecray
|
webecray
|
||||||
|
@ -1700,7 +1707,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1704 "configure"
|
#line 1711 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1754,7 +1761,7 @@ else
|
||||||
ac_cv_c_stack_direction=0
|
ac_cv_c_stack_direction=0
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1758 "configure"
|
#line 1765 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
find_stack_direction ()
|
find_stack_direction ()
|
||||||
{
|
{
|
||||||
|
@ -1797,7 +1804,7 @@ else
|
||||||
ac_cv_c_inline=no
|
ac_cv_c_inline=no
|
||||||
for ac_kw in inline __inline__ __inline; do
|
for ac_kw in inline __inline__ __inline; do
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1801 "configure"
|
#line 1808 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
@ -1837,7 +1844,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1841 "configure"
|
#line 1848 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1890,7 +1897,7 @@ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1894 "configure"
|
#line 1901 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
/* System header to define __stub macros and hopefully few prototypes,
|
||||||
which can conflict with char $ac_func(); below. */
|
which can conflict with char $ac_func(); below. */
|
||||||
|
@ -1943,7 +1950,7 @@ if eval "test \"`echo '$''{'gas_cv_assert_ok'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 1947 "configure"
|
#line 1954 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -2000,7 +2007,7 @@ if eval "test \"`echo '$''{'gas_cv_decl_needed_malloc'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2004 "configure"
|
#line 2011 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
$gas_test_headers
|
$gas_test_headers
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
@ -2036,7 +2043,7 @@ if eval "test \"`echo '$''{'gas_cv_decl_needed_free'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2040 "configure"
|
#line 2047 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
$gas_test_headers
|
$gas_test_headers
|
||||||
int main() { return 0; }
|
int main() { return 0; }
|
||||||
|
@ -2075,7 +2082,7 @@ if eval "test \"`echo '$''{'gas_cv_decl_needed_errno'+set}'`\" = set"; then
|
||||||
echo $ac_n "(cached) $ac_c" 1>&6
|
echo $ac_n "(cached) $ac_c" 1>&6
|
||||||
else
|
else
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 2079 "configure"
|
#line 2086 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#ifdef HAVE_ERRNO_H
|
#ifdef HAVE_ERRNO_H
|
||||||
|
|
|
@ -67,7 +67,7 @@ for this_target in $target $canon_targets ; do
|
||||||
arm*) cpu_type=arm endian=little ;;
|
arm*) cpu_type=arm endian=little ;;
|
||||||
hppa*) cpu_type=hppa ;;
|
hppa*) cpu_type=hppa ;;
|
||||||
changequote(,)dnl
|
changequote(,)dnl
|
||||||
i[45]86) cpu_type=i386 ;;
|
i[456]86) cpu_type=i386 ;;
|
||||||
m680[012346]0) cpu_type=m68k ;;
|
m680[012346]0) cpu_type=m68k ;;
|
||||||
m68008) cpu_type=m68k ;;
|
m68008) cpu_type=m68k ;;
|
||||||
m683??) cpu_type=m68k ;;
|
m683??) cpu_type=m68k ;;
|
||||||
|
@ -293,8 +293,15 @@ changequote([,])dnl
|
||||||
|
|
||||||
# do we need the opcodes library?
|
# do we need the opcodes library?
|
||||||
case ${cpu_type} in
|
case ${cpu_type} in
|
||||||
alpha | vax) ;;
|
alpha | vax | i386)
|
||||||
*) need_opcodes=yes ;;
|
;;
|
||||||
|
*)
|
||||||
|
need_opcodes=yes
|
||||||
|
if test "${shared}" = "true"; then
|
||||||
|
# A shared libopcodes must be linked against libbfd.
|
||||||
|
need_bfd=yes
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
test -n "$want_sparc_v9" && AC_DEFINE(SPARC_V9)
|
test -n "$want_sparc_v9" && AC_DEFINE(SPARC_V9)
|
||||||
|
|
Loading…
Reference in New Issue