comparison configure.in @ 318:afd57c14dfc8 r21-0b57

Import from CVS: tag r21-0b57
author cvs
date Mon, 13 Aug 2007 10:45:36 +0200
parents 512e409c26a2
children 19dcec799385
comparison
equal deleted inserted replaced
317:a2fc9afbef65 318:afd57c14dfc8
2079 AC_PROG_INSTALL 2079 AC_PROG_INSTALL
2080 AC_PROG_YACC 2080 AC_PROG_YACC
2081 2081
2082 dnl checks for header files 2082 dnl checks for header files
2083 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h) 2083 AC_CHECK_HEADERS(mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h)
2084 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h) 2084 AC_CHECK_HEADERS(utime.h locale.h libgen.h fcntl.h ulimit.h cygwin32/version.h)
2085 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h) 2085 AC_CHECK_HEADERS(linux/version.h kstat.h sys/pstat.h inttypes.h sys/un.h a.out.h)
2086 AC_HEADER_SYS_WAIT 2086 AC_HEADER_SYS_WAIT
2087 AC_HEADER_STDC 2087 AC_HEADER_STDC
2088 AC_HEADER_TIME 2088 AC_HEADER_TIME
2089 AC_DECL_SYS_SIGLIST 2089 AC_DECL_SYS_SIGLIST
3225 return 1; 3225 return 1;
3226 }], have_mmap=yes, have_mmap=no) ;; 3226 }], have_mmap=yes, have_mmap=no) ;;
3227 esac 3227 esac
3228 AC_MSG_RESULT($have_mmap) 3228 AC_MSG_RESULT($have_mmap)
3229 test "$have_mmap" = "yes" && AC_DEFINE(HAVE_MMAP) 3229 test "$have_mmap" = "yes" && AC_DEFINE(HAVE_MMAP)
3230 AC_FUNC_MMAP
3230 3231
3231 dnl rel_alloc requires either GNU malloc or system malloc with mmap 3232 dnl rel_alloc requires either GNU malloc or system malloc with mmap
3232 dnl We only turn rel_alloc on by default if mmap is available. 3233 dnl We only turn rel_alloc on by default if mmap is available.
3233 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 3234 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
3234 test "$rel_alloc" = "default" -a "$have_mmap" = "yes" && rel_alloc=yes 3235 test "$rel_alloc" = "default" -a "$have_mmap" = "yes" && rel_alloc=yes