Mercurial > emacs
comparison configure.in @ 31599:3988743369b6
(USE_MMAP_FOR_BUFFERS): Recognize in system
configuration files instead of REL_ALLOC_MMAP. Set REL_ALLOC
to `no' if defined. Change result report.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 14 Sep 2000 15:11:53 +0000 |
parents | 15eaa1c573ba |
children | eb59d12540a8 |
comparison
equal
deleted
inserted
replaced
31598:f4f8a84783d0 | 31599:3988743369b6 |
---|---|
1226 configure___ system_malloc=yes | 1226 configure___ system_malloc=yes |
1227 #else | 1227 #else |
1228 configure___ system_malloc=no | 1228 configure___ system_malloc=no |
1229 #endif | 1229 #endif |
1230 | 1230 |
1231 #ifdef REL_ALLOC_MMAP | 1231 #ifdef USE_MMAP_FOR_BUFFERS |
1232 configure___ rel_alloc_mmap=yes | 1232 configure___ use_mmap_for_buffers=yes |
1233 #else | 1233 #else |
1234 configure___ rel_alloc_mmap=no | 1234 configure___ use_mmap_for_buffers=no |
1235 #endif | 1235 #endif |
1236 | 1236 |
1237 #ifndef C_DEBUG_SWITCH | 1237 #ifndef C_DEBUG_SWITCH |
1238 #define C_DEBUG_SWITCH -g | 1238 #define C_DEBUG_SWITCH -g |
1239 #endif | 1239 #endif |
1542 | 1542 |
1543 if test x"${REL_ALLOC}" = x; then | 1543 if test x"${REL_ALLOC}" = x; then |
1544 REL_ALLOC=${GNU_MALLOC} | 1544 REL_ALLOC=${GNU_MALLOC} |
1545 fi | 1545 fi |
1546 | 1546 |
1547 dnl For now, need to use an explicit `#define REL_ALLOC_MMAP 1' in | 1547 dnl For now, need to use an explicit `#define USE_MMAP_FOR_BUFFERS 1' |
1548 dnl the system configuration file (s/*.h) to turn the use of mmap | 1548 in dnl the system configuration file (s/*.h) to turn the use of mmap |
1549 dnl in the relocating allocator on. | 1549 dnl in the relocating allocator on. |
1550 | 1550 |
1551 AC_FUNC_MMAP | 1551 AC_FUNC_MMAP |
1552 if test $rel_alloc_mmap = yes; then | 1552 if test $use_mmap_for_buffers = yes; then |
1553 REL_ALLOC=yes | 1553 REL_ALLOC=no |
1554 fi | 1554 fi |
1555 | 1555 |
1556 LIBS="$libsrc_libs $LIBS" | 1556 LIBS="$libsrc_libs $LIBS" |
1557 | 1557 |
1558 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks, | 1558 dnl If found, this defines HAVE_LIBDNET, which m/pmax.h checks, |
2193 What operating system and machine description files should Emacs use? | 2193 What operating system and machine description files should Emacs use? |
2194 \`${opsysfile}' and \`${machfile}' | 2194 \`${opsysfile}' and \`${machfile}' |
2195 What compiler should emacs be built with? ${CC} ${CFLAGS} | 2195 What compiler should emacs be built with? ${CC} ${CFLAGS} |
2196 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 2196 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} |
2197 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} | 2197 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} |
2198 Should Emacs use mmap for the relocating allocator? $rel_alloc_mmap | 2198 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers |
2199 What window system should Emacs use? ${window_system} | 2199 What window system should Emacs use? ${window_system} |
2200 What toolkit should Emacs use? ${USE_X_TOOLKIT}" | 2200 What toolkit should Emacs use? ${USE_X_TOOLKIT}" |
2201 | 2201 |
2202 if test -n "${x_includes}"; then | 2202 if test -n "${x_includes}"; then |
2203 echo " Where do we find X Windows header files? ${x_includes}" | 2203 echo " Where do we find X Windows header files? ${x_includes}" |