comparison configure.in @ 31410:8bdf4d335cf9

(REL_ALLOC_MMAP): Recognize in system configuration file and print informational message.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 06 Sep 2000 21:23:55 +0000
parents c0fe1ce00ebb
children 15eaa1c573ba
comparison
equal deleted inserted replaced
31409:73b83b52b9cd 31410:8bdf4d335cf9
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
1232 configure___ rel_alloc_mmap=yes
1233 #else
1234 configure___ rel_alloc_mmap=no
1235 #endif
1236
1231 #ifndef C_DEBUG_SWITCH 1237 #ifndef C_DEBUG_SWITCH
1232 #define C_DEBUG_SWITCH -g 1238 #define C_DEBUG_SWITCH -g
1233 #endif 1239 #endif
1234 1240
1235 #ifndef C_OPTIMIZE_SWITCH 1241 #ifndef C_OPTIMIZE_SWITCH
1534 AC_DEFINE(DOUG_LEA_MALLOC) 1540 AC_DEFINE(DOUG_LEA_MALLOC)
1535 fi 1541 fi
1536 1542
1537 if test x"${REL_ALLOC}" = x; then 1543 if test x"${REL_ALLOC}" = x; then
1538 REL_ALLOC=${GNU_MALLOC} 1544 REL_ALLOC=${GNU_MALLOC}
1545 fi
1546
1547 @dnl For now, need to use an explicit `#define REL_ALLOC_MMAP 1' in
1548 @dnl the system configuration file (s/*.h) to turn the use of mmap
1549 @dnl in the relocating allocator on.
1550
1551 AC_FUNC_MMAP
1552 if test $rel_alloc_mmap = yes; then
1553 REL_ALLOC=yes
1539 fi 1554 fi
1540 1555
1541 LIBS="$libsrc_libs $LIBS" 1556 LIBS="$libsrc_libs $LIBS"
1542 1557
1543 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,
2087 else 2102 else
2088 AC_MSG_RESULT(no) 2103 AC_MSG_RESULT(no)
2089 fi 2104 fi
2090 2105
2091 AC_FUNC_VFORK 2106 AC_FUNC_VFORK
2092 AC_FUNC_MMAP
2093 2107
2094 # Fixme: This should be replaced when we have autoconf 2.14. 2108 # Fixme: This should be replaced when we have autoconf 2.14.
2095 AC_SIZE_T 2109 AC_SIZE_T
2096 2110
2097 # Set up the CFLAGS for real compilation, so we can substitute it. 2111 # Set up the CFLAGS for real compilation, so we can substitute it.
2178 Where should the build process find the source code? ${srcdir} 2192 Where should the build process find the source code? ${srcdir}
2179 What operating system and machine description files should Emacs use? 2193 What operating system and machine description files should Emacs use?
2180 \`${opsysfile}' and \`${machfile}' 2194 \`${opsysfile}' and \`${machfile}'
2181 What compiler should emacs be built with? ${CC} ${CFLAGS} 2195 What compiler should emacs be built with? ${CC} ${CFLAGS}
2182 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}
2183 Should Emacs use the 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
2184 What window system should Emacs use? ${window_system} 2199 What window system should Emacs use? ${window_system}
2185 What toolkit should Emacs use? ${USE_X_TOOLKIT}" 2200 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
2186 2201
2187 if test -n "${x_includes}"; then 2202 if test -n "${x_includes}"; then
2188 echo " Where do we find X Windows header files? ${x_includes}" 2203 echo " Where do we find X Windows header files? ${x_includes}"