summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-11-20 14:56:12 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-11-20 14:56:12 +0000
commite7a7a30c07994b9e8d08ecf3550c162423d02475 (patch)
tree85a119d95a573c409e9b196614e20cd703ba979d /legacy/elementary/configure.ac
parentc3e5006835a77072c18529d106964f853d61df2d (diff)
elementary: support environment without sys/mman.h.
SVN revision: 65447
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index e5ad88c..e5c61bb 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -618,6 +618,15 @@ ELM_LIBINTL_H_DEF="#undef"
618AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"]) 618AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"])
619AC_SUBST(ELM_LIBINTL_H_DEF) 619AC_SUBST(ELM_LIBINTL_H_DEF)
620 620
621ELM_DIRENT_H_DEF="#undef"
622AC_CHECK_HEADER(dirent.h, [ELM_DIRENT_H_DEF="#define"])
623AC_SUBST(ELM_DIRENT_H_DEF)
624
625AC_CHECK_HEADER(sys/mman.h, [have_mman="yes"], [have_mman="no"])
626if test "x${have_mman}" = "xyes"; then
627 AC_DEFINE(HAVE_MMAN_H, 1, [Have sys/mman.h header file])
628fi
629
621my_libs="-lm" 630my_libs="-lm"
622AC_SUBST(my_libs) 631AC_SUBST(my_libs)
623AC_SUBST(requirement_elm) 632AC_SUBST(requirement_elm)