diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-18 01:58:00 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-19 01:01:21 -0400 |
commit | 07490bf81d2fc91676eb71b77e07f80f20fc1b54 (patch) | |
tree | b73118abe465a0b848c4e0683e214c535c74fc88 /sim/m4/sim_ac_platform.m4 | |
parent | 47399e9c455b0a634e4c3597c8d9a292cc4b1b0c (diff) | |
download | binutils-07490bf81d2fc91676eb71b77e07f80f20fc1b54.zip binutils-07490bf81d2fc91676eb71b77e07f80f20fc1b54.tar.gz binutils-07490bf81d2fc91676eb71b77e07f80f20fc1b54.tar.bz2 |
sim: unify various library testing logic
Move these options up to the common dir so we only test & export
them once across all ports.
Diffstat (limited to 'sim/m4/sim_ac_platform.m4')
-rw-r--r-- | sim/m4/sim_ac_platform.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/m4/sim_ac_platform.m4 b/sim/m4/sim_ac_platform.m4 index c505c74..d2e1d36 100644 --- a/sim/m4/sim_ac_platform.m4 +++ b/sim/m4/sim_ac_platform.m4 @@ -141,4 +141,10 @@ AC_TYPE_PID_T AC_TYPE_SIGNAL AC_TYPE_SIZE_T AC_TYPE_UID_T + +dnl Libraries. +AC_CHECK_LIB(socket, bind) +AC_CHECK_LIB(nsl, gethostbyname) +AC_CHECK_LIB(m, fabs) +AC_CHECK_LIB(m, log2) ]) |