]> granicus.if.org Git - gc/commitdiff
configure: Remove undefined MMAP variable value processing case
authorIvan Maidanski <ivmai@mail.ru>
Mon, 26 Dec 2011 11:52:17 +0000 (15:52 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 26 Dec 2011 11:52:17 +0000 (15:52 +0400)
* configure.ac (munmap): Remove "$MMAP" processing (since the variable
is not defined anywhere).

configure.ac

index ab8b27cb1deb32bc2f1431f69808b5f92555520d..4ccc59a90d6c2f427ebf31995bf461d822e8221b 100644 (file)
@@ -768,13 +768,7 @@ fi
 AC_ARG_ENABLE(munmap,
     [AC_HELP_STRING([--enable-munmap=N],
         [return page to the os if empty for N collections])],
-  MUNMAP_THRESHOLD=$enableval;
-   [case "$MMAP" in
-      no)
-        AC_MSG_ERROR([--enable-munmap requires --enable-mmap])
-        ;;
-    esac]
-   )
+    MUNMAP_THRESHOLD=$enableval)
 if test "${enable_munmap}" != ""; then
     AC_DEFINE([USE_MMAP], 1,
               [Define to use mmap instead of sbrk to expand the heap.])