;;
esac
;;
- decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
+ win32)
+ cat >> confdefs.h <<\EOF
+#define GC_WIN32_THREADS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define NO_GETENV 1
+EOF
+
+ ;;
+ decosf1 | irix | mach | os2 | solaris | dce | vxworks)
{ echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
;;
*)
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:2736: checking for dlopen in -ldl" >&5
+echo "configure:2746: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2744 "configure"
+#line 2754 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
dlopen()
; return 0; }
EOF
-if { (eval echo configure:2755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
target_all=libgcjgc.la
+
TARGET_ECOS="no"
# Check whether --with-ecos or --without-ecos was given.
if test "${with_ecos+set}" = set; then
machdep=
case "$host" in
- alpha*-*-*)
+ alpha*-*-openbsd*)
machdep="alpha_mach_dep.lo"
- ;;
- alpha-*-openbsd*)
if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then
echo "configure: warning: OpenBSD/Alpha without dlopen(). Shared library support is disabled" 1>&2
# Check whether --enable-shared or --disable-shared was given.
fi
;;
+ alpha*-*-*)
+ machdep="alpha_mach_dep.lo"
+ ;;
i?86-*-solaris2.[89]*)
cat >> confdefs.h <<\EOF
#define SOLARIS25_PROC_VDB_BUG_FIXED 1
;;
sparc-sun-solaris2.3*)
+ machdep="sparc_mach_dep.lo"
cat >> confdefs.h <<\EOF
#define SUNOS53_SHARED_LIB 1
EOF
;;
- ia64-*-hpux*)
+ sparc-sun-solaris2.*)
+ machdep="sparc_mach_dep.lo"
+ ;;
+ ia64-*-*)
machdep="mach_dep.lo ia64_save_regs_in_stack.lo"
;;
esac
EOF
cat >> confdefs.h <<\EOF
-#define NO_CLOCK 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define SMALL_CONFIG 1
-EOF
-
- cat >> confdefs.h <<\EOF
#define NO_DEBUGGING 1
EOF
EOF
case $host in
+ ia64-*-linux* )
+ cat >> confdefs.h <<\EOF
+#define MAKE_BACK_GRAPH 1
+EOF
+
+ ;;
x86-*-linux* | i586-*-linux* | i686-*-linux* )
+ cat >> confdefs.h <<\EOF
+#define MAKE_BACK_GRAPH 1
+EOF
+
echo "configure: warning: "Client must not use -fomit-frame-pointer."" 1>&2
cat >> confdefs.h <<\EOF
#define SAVE_CALL_COUNT 8