OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-01-24 David Ayers <d.ayers@inode.at>
[pf3gnuchains/gcc-fork.git]
/
boehm-gc
/
configure.ac
diff --git
a/boehm-gc/configure.ac
b/boehm-gc/configure.ac
index
59a3612
..
dfb0e17
100644
(file)
--- a/
boehm-gc/configure.ac
+++ b/
boehm-gc/configure.ac
@@
-120,7
+120,7
@@
case "$THREADS" in
no | none | single)
THREADS=none
;;
no | none | single)
THREADS=none
;;
- posix | pthreads)
+ posix | p
osix95 | p
threads)
THREADS=posix
THREADLIBS=-lpthread
case "$host" in
THREADS=posix
THREADLIBS=-lpthread
case "$host" in
@@
-336,7
+336,7
@@
case "$host" in
machdep="sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB,1,[Avoid Solaris 5.3 dynamic library bug])
;;
machdep="sparc_mach_dep.lo"
AC_DEFINE(SUNOS53_SHARED_LIB,1,[Avoid Solaris 5.3 dynamic library bug])
;;
- sparc-sun-solaris2.*)
+ sparc
*
-sun-solaris2.*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
machdep="sparc_mach_dep.lo"
;;
ia64-*-*)
@@
-378,10
+378,10
@@
fi
dnl As of 4.13a2, the collector will not properly work on Solaris when
dnl built with gcc and -O. So we remove -O in the appropriate case.
dnl As of 4.13a2, the collector will not properly work on Solaris when
dnl built with gcc and -O. So we remove -O in the appropriate case.
-dnl
+dnl
Not needed anymore on Solaris.
AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
case "$host" in
AC_MSG_CHECKING(whether Solaris gcc optimization fix is necessary)
case "$host" in
-
sparc-sun-solaris2*|
*aix*)
+ *aix*)
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
new_CFLAGS=
if test "$GCC" = yes; then
AC_MSG_RESULT(yes)
new_CFLAGS=
@@
-446,6
+446,10
@@
AC_ARG_ENABLE(gc-debug,
esac
fi])
esac
fi])
+if test "${gc_use_mmap}" = "yes"; then
+ AC_DEFINE(USE_MMAP, 1, [use MMAP instead of sbrk to get new memory])
+fi
+
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_noncanonical)'
if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then
toolexecdir='$(exec_prefix)/$(target_noncanonical)'
@@
-468,7
+472,7
@@
else
multilib_arg=
fi
multilib_arg=
fi
-AC_CONFIG_HEADERS([include/gc_config.h])
+AC_CONFIG_HEADERS([include/gc_config.h
include/gc_ext_config.h
])
AC_CONFIG_FILES(Makefile include/Makefile)
AC_OUTPUT
AC_CONFIG_FILES(Makefile include/Makefile)
AC_OUTPUT