summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-27 14:18:01 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-27 22:18:23 +0000
commit81fa9e05fffe788cdec02b1f3f12612daa826c6b (patch)
tree23bac727744de109b8f420fcbba00a6302c174ff
parent823766b9b63bb4c9f1b58c2e5198013b74634313 (diff)
downloadwireshark-81fa9e05fffe788cdec02b1f3f12612daa826c6b.tar.gz
wmem, unlike emem, doesn't use mmap(); remove some no-longer-needed checks.
Change-Id: Ic9b57c7c7042fadf938bfa48a3aabe23ad33370f Reviewed-on: https://code.wireshark.org/review/7432 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--ConfigureChecks.cmake2
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 62314dc62a..f1ae7f22ac 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -83,8 +83,6 @@ check_function_exists("getprotobynumber" HAVE_GETPROTOBYNUMBER)
check_function_exists("inet_aton" HAVE_INET_ATON)
check_function_exists("inet_ntop" HAVE_INET_NTOP_PROTO)
check_function_exists("issetugid" HAVE_ISSETUGID)
-check_function_exists("mmap" HAVE_MMAP)
-check_function_exists("mprotect" HAVE_MPROTECT)
check_function_exists("mkdtemp" HAVE_MKDTEMP)
check_function_exists("mkstemp" HAVE_MKSTEMP)
check_function_exists("popcount" HAVE_POPCOUNT)
diff --git a/configure.ac b/configure.ac
index 7f01efe6d4..6fe5adf103 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2902,7 +2902,7 @@ AC_SUBST(POPCOUNT_LO)
AC_CHECK_FUNCS(getprotobynumber)
AC_CHECK_FUNCS(issetugid)
-AC_CHECK_FUNCS(mmap mprotect sysconf)
+AC_CHECK_FUNCS(sysconf)
dnl blank for now, but will be used in future
AC_SUBST(wireshark_SUBDIRS)