comparison configure.in @ 353:3b3709405255 r21-1-6

Import from CVS: tag r21-1-6
author cvs
date Mon, 13 Aug 2007 10:55:33 +0200
parents 8429d81ab209
children 182f72e8cd0d
comparison
equal deleted inserted replaced
352:e7288c5461ae 353:3b3709405255
1485 if test "$dynamic" = "yes" ; then 1485 if test "$dynamic" = "yes" ; then
1486 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ; 1486 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ;
1487 else 1487 else
1488 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; 1488 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ;
1489 fi ;; 1489 fi ;;
1490 *-sysv5* ) opsys=sco7 ;;
1490 *-386bsd* ) opsys=386bsd ;; 1491 *-386bsd* ) opsys=386bsd ;;
1491 *-freebsd* ) opsys=freebsd ;; 1492 *-freebsd* ) opsys=freebsd ;;
1492 *-nextstep* ) opsys=nextstep ;; 1493 *-nextstep* ) opsys=nextstep ;;
1493 *-pc-cygwin32 ) opsys=cygwin32 ;; 1494 *-pc-cygwin32 ) opsys=cygwin32 ;;
1494 dnl Otherwise, we fall through to the generic opsys code at the bottom. 1495 dnl Otherwise, we fall through to the generic opsys code at the bottom.
3256 return 1; 3257 return 1;
3257 }], have_mmap=yes, have_mmap=no) ;; 3258 }], have_mmap=yes, have_mmap=no) ;;
3258 esac 3259 esac
3259 AC_MSG_RESULT($have_mmap) 3260 AC_MSG_RESULT($have_mmap)
3260 test "$have_mmap" = "yes" && AC_DEFINE(HAVE_MMAP) 3261 test "$have_mmap" = "yes" && AC_DEFINE(HAVE_MMAP)
3261 AC_FUNC_MMAP
3262 3262
3263 dnl rel_alloc requires either GNU malloc or system malloc with mmap 3263 dnl rel_alloc requires either GNU malloc or system malloc with mmap
3264 dnl We only turn rel_alloc on by default if mmap is available. 3264 dnl We only turn rel_alloc on by default if mmap is available.
3265 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 3265 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
3266 test "$rel_alloc" = "default" -a "$have_mmap" = "yes" && rel_alloc=yes 3266 test "$rel_alloc" = "default" -a "$have_mmap" = "yes" && rel_alloc=yes