aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-04-18 21:50:07 -0400
committerMike Frysinger <vapier@gentoo.org>2021-04-18 21:55:17 -0400
commit37e9f18266e768ad93243fd34f9046c260b3096b (patch)
treeccb57e877ff8e68fdad6eaeb028a62182ba20e0d /sim/bfin/configure.ac
parent3e91feb948093ffc52678681401cc2adabd13d38 (diff)
downloadgdb-37e9f18266e768ad93243fd34f9046c260b3096b.zip
gdb-37e9f18266e768ad93243fd34f9046c260b3096b.tar.gz
gdb-37e9f18266e768ad93243fd34f9046c260b3096b.tar.bz2
sim: switch to AC_CHECK_FUNCS_ONCE & merge a little
This avoids duplicate tests for functions between common m4, arches, and any other sources that would trigger func tests. Also manually delete known duplicate function tests between the m4, bfin, and v850 ports.
Diffstat (limited to 'sim/bfin/configure.ac')
-rw-r--r--sim/bfin/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/bfin/configure.ac b/sim/bfin/configure.ac
index 0ca02ba..6b15b77 100644
--- a/sim/bfin/configure.ac
+++ b/sim/bfin/configure.ac
@@ -42,7 +42,7 @@ SIM_AC_OPTION_HARDWARE(yes,,\
eth_phy \
)
-AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread])
+AC_CHECK_FUNCS_ONCE([getuid getgid geteuid getegid setuid setgid kill pread])
AC_CHECK_HEADERS([ \
linux/if_tun.h \
linux/mii.h \