diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:35:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:35:48 -0500 |
commit | 4cd7de783bc72cc1f44fe989e7a0c7feb10532d5 (patch) | |
tree | 39e49c04f886bece9add9d5b076fc269170e4afa /sim/configure | |
parent | e9bf6a4a20798cd495b2833112482ebc55bc5982 (diff) | |
download | fsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.zip fsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.tar.gz fsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.tar.bz2 |
sim: formally assume unistd.h always exists (via gnulib)
We have many uses of unistd.h that are unprotected by HAVE_UNISTD_H,
so this is more formalizing the reality that we require this header.
Since we switched to gnulib, it guarantees that a unistd.h exists
for us to include, so we're doubly OK.
Diffstat (limited to 'sim/configure')
-rwxr-xr-x | sim/configure | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sim/configure b/sim/configure index c1333fc..1047514 100755 --- a/sim/configure +++ b/sim/configure @@ -2797,7 +2797,6 @@ as_fn_append ac_header_list " dlfcn.h" as_fn_append ac_header_list " fcntl.h" as_fn_append ac_header_list " fpu_control.h" as_fn_append ac_header_list " termios.h" -as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " utime.h" as_fn_append ac_header_list " linux/if_tun.h" as_fn_append ac_header_list " linux/mii.h" @@ -5268,8 +5267,6 @@ done - - for ac_func in $ac_func_list do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -12289,7 +12286,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12292 "configure" +#line 12289 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12395,7 +12392,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12398 "configure" +#line 12395 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |