X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=boehm-gc%2Fconfigure;h=b205d328c03ed4549c41707f3165b6e0bccb762a;hp=0f659721a8789fd9d17e0c4281dc9345f798c7d1;hb=735cc3dd9476a9058e71fc04e4d87f60b5a89b59;hpb=466ad0916d2764531f44b7ef722ea5122605ba8f diff --git a/boehm-gc/configure b/boehm-gc/configure index 0f659721a87..b205d328c03 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -6558,6 +6558,14 @@ _ACEOF fi fi; +if test "${gc_use_mmap}" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define USE_MMAP 1 +_ACEOF + +fi + if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then toolexecdir='$(exec_prefix)/$(target_noncanonical)' @@ -6580,7 +6588,7 @@ else multilib_arg= fi - ac_config_headers="$ac_config_headers include/gc_config.h" + ac_config_headers="$ac_config_headers include/gc_config.h include/gc_ext_config.h" ac_config_files="$ac_config_files Makefile include/Makefile" @@ -7178,6 +7186,7 @@ do "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "include/gc_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/gc_config.h" ;; + "include/gc_ext_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/gc_ext_config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };;