diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-03-04 19:56:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-03-04 19:56:57 +0000 |
commit | 84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca (patch) | |
tree | 57479316a7a27741eab68ab5f1df99dd7f0f62dc /sim/bfin/configure | |
parent | 6597b100b5034a27219b7c5823af25747f4d27f5 (diff) | |
download | gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.zip gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.tar.gz gdb-84de2f06d84e2ba7aef3bba62b3a4833bb2fb6ca.tar.bz2 |
sim: bfin: drop old linux/mii.h workarounds
We had some workarounds for old linux/mii.h headers, but it breaks with
newer ones. So tweak the checks a bit to work with newer ones. We'll
worry about older systems once someone complains.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/bfin/configure')
-rwxr-xr-x | sim/bfin/configure | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sim/bfin/configure b/sim/bfin/configure index a8c4639..fe1fc7c 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -2468,9 +2468,9 @@ sim_inline="-DDEFAULT_INLINE=0" # AC_PROG_CPP_WERROR # Test for GNAT. -# We require the gnatbind program, and a compiler driver that -# understands Ada. We use the user's CC setting, already found, -# and possibly add $1 to the command-line parameters. +# We require the gnatbind & gnatmake programs, as well as a compiler driver +# that understands Ada. We use the user's CC setting, already found, and +# possibly add $1 to the command-line parameters. # # Sets the shell variable have_gnat to yes or no as appropriate, and # substitutes GNATBIND and GNATMAKE. @@ -5414,7 +5414,14 @@ _ACEOF fi done -for ac_header in sys/ioctl.h sys/mman.h net/if.h linux/if_tun.h linux/mii.h +for ac_header in \ + linux/if_tun.h \ + linux/mii.h \ + linux/types.h \ + net/if.h \ + sys/ioctl.h \ + sys/mman.h \ + do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |