summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-13 05:25:23 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-13 05:25:23 -0400
commitb4f10583ea84d02ed0278fc2cb2846aaf075864d (patch)
tree7e5d106f8dbc8f30e77acae0f3631fe5d3c9688b /configure.in
parent87f9fedcd27baa62043cb59b03dfd5ce0a9214db (diff)
downloadpango-b4f10583ea84d02ed0278fc2cb2846aaf075864d.tar.gz
Bug 591511 – hh-blob.c does not compile using mingw on windows
Check for sys/mman.h, not mprotect().
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 7ea86481..f3f242eb 100644
--- a/configure.in
+++ b/configure.in
@@ -128,7 +128,7 @@ AC_LANG_RESTORE
#
AC_PROG_CXX
-AC_CHECK_FUNCS(mprotect)
+AC_CHECK_HEADERS(unistd.h sys/mman.h)
# Make sure we don't link to libstdc++ (needs de-gcc-fication)
CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions"