comparison configure @ 31607:3e0642938fc8

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Thu, 14 Sep 2000 15:15:16 +0000
parents 83b2a14bea5b
children baf314674954
comparison
equal deleted inserted replaced
31606:f0f7e75e83c4 31607:3e0642938fc8
2322 configure___ system_malloc=yes 2322 configure___ system_malloc=yes
2323 #else 2323 #else
2324 configure___ system_malloc=no 2324 configure___ system_malloc=no
2325 #endif 2325 #endif
2326 2326
2327 #ifdef REL_ALLOC_MMAP 2327 #ifdef USE_MMAP_FOR_BUFFERS
2328 configure___ rel_alloc_mmap=yes 2328 configure___ use_mmap_for_buffers=yes
2329 #else 2329 #else
2330 configure___ rel_alloc_mmap=no 2330 configure___ use_mmap_for_buffers=no
2331 #endif 2331 #endif
2332 2332
2333 #ifndef C_DEBUG_SWITCH 2333 #ifndef C_DEBUG_SWITCH
2334 #define C_DEBUG_SWITCH -g 2334 #define C_DEBUG_SWITCH -g
2335 #endif 2335 #endif
3502 #include "confdefs.h" 3502 #include "confdefs.h"
3503 3503
3504 int main() { 3504 int main() {
3505 3505
3506 /* Ultrix mips cc rejects this. */ 3506 /* Ultrix mips cc rejects this. */
3507 typedef int charset[2]; const charset x = {0,0}; 3507 typedef int charset[2]; const charset x;
3508 /* SunOS 4.1.1 cc rejects this. */ 3508 /* SunOS 4.1.1 cc rejects this. */
3509 char const *const *ccp; 3509 char const *const *ccp;
3510 char **p; 3510 char **p;
3511 /* NEC SVR4.0.2 mips cc rejects this. */ 3511 /* NEC SVR4.0.2 mips cc rejects this. */
3512 struct point {int x, y;}; 3512 struct point {int x, y;};
4150 4150
4151 if test x"${REL_ALLOC}" = x; then 4151 if test x"${REL_ALLOC}" = x; then
4152 REL_ALLOC=${GNU_MALLOC} 4152 REL_ALLOC=${GNU_MALLOC}
4153 fi 4153 fi
4154 4154
4155 4155 in
4156 for ac_hdr in stdlib.h unistd.h sys/stat.h 4156 for ac_hdr in stdlib.h unistd.h sys/stat.h
4157 do 4157 do
4158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4158 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4159 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4160 echo "configure:4161: checking for $ac_hdr" >&5 4160 echo "configure:4161: checking for $ac_hdr" >&5
4411 #define HAVE_MMAP 1 4411 #define HAVE_MMAP 1
4412 EOF 4412 EOF
4413 4413
4414 fi 4414 fi
4415 4415
4416 if test $rel_alloc_mmap = yes; then 4416 if test $use_mmap_for_buffers = yes; then
4417 REL_ALLOC=yes 4417 REL_ALLOC=no
4418 fi 4418 fi
4419 4419
4420 LIBS="$libsrc_libs $LIBS" 4420 LIBS="$libsrc_libs $LIBS"
4421 4421
4422 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 4422 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
5650 cat > conftest.$ac_ext <<EOF 5650 cat > conftest.$ac_ext <<EOF
5651 #line 5652 "configure" 5651 #line 5652 "configure"
5652 #include "confdefs.h" 5652 #include "confdefs.h"
5653 #include <alloca.h> 5653 #include <alloca.h>
5654 int main() { 5654 int main() {
5655 void *p = alloca(2 * sizeof(int)); 5655 char *p = alloca(2 * sizeof(int));
5656 ; return 0; } 5656 ; return 0; }
5657 EOF 5657 EOF
5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5658 if { (eval echo configure:5659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5659 rm -rf conftest* 5659 rm -rf conftest*
5660 ac_cv_header_alloca_h=yes 5660 ac_cv_header_alloca_h=yes
8857 What operating system and machine description files should Emacs use? 8857 What operating system and machine description files should Emacs use?
8858 \`${opsysfile}' and \`${machfile}' 8858 \`${opsysfile}' and \`${machfile}'
8859 What compiler should emacs be built with? ${CC} ${CFLAGS} 8859 What compiler should emacs be built with? ${CC} ${CFLAGS}
8860 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} 8860 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
8861 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC} 8861 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
8862 Should Emacs use mmap for the relocating allocator? $rel_alloc_mmap 8862 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
8863 What window system should Emacs use? ${window_system} 8863 What window system should Emacs use? ${window_system}
8864 What toolkit should Emacs use? ${USE_X_TOOLKIT}" 8864 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
8865 8865
8866 if test -n "${x_includes}"; then 8866 if test -n "${x_includes}"; then
8867 echo " Where do we find X Windows header files? ${x_includes}" 8867 echo " Where do we find X Windows header files? ${x_includes}"