Commit 8bb915b6 by Nathanael Nerode

configure.ac: Rearrange some threading code for clarity; add section comment.

	* configure.ac: Rearrange some threading code for clarity;
	add section comment.
	* configure: Regenerate.

From-SVN: r78678
parent 4ee31f1e
2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.ac: Rearrange some threading code for clarity;
add section comment.
* configure: Regenerate.
2004-02-29 Kazu Hirata <kazu@cs.umass.edu> 2004-02-29 Kazu Hirata <kazu@cs.umass.edu>
* passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment
......
...@@ -308,7 +308,7 @@ ac_includes_default="\ ...@@ -308,7 +308,7 @@ ac_includes_default="\
# include <unistd.h> # include <unistd.h>
#endif" #endif"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP GNATBIND ac_ct_GNATBIND strict1_warn warn_cflags WERROR nocommon_flag EGREP valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep SET_MAKE AWK LN LN_S RANLIB ac_ct_RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON stage1_cflags COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LIBICONV_DEP manext objext extra_modes_file FORBUILD PACKAGE VERSION USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS CROSS ALL SYSTEM_HEADER_DIR inhibit_libc BUILD_PREFIX BUILD_PREFIX_1 CC_FOR_BUILD BUILD_CFLAGS STMP_FIXINC STMP_FIXPROTO libgcc_visibility gthread_flags GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir objdir subdirs srcdir all_boot_languages all_compilers all_gtfiles all_gtfiles_files_langs all_gtfiles_files_files all_lang_makefrags all_lang_makefiles all_languages all_stagestuff build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines check_languages cc_set_by_configure quoted_cc_set_by_configure cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir libstdcxx_incdir gcc_version gcc_version_full gcc_version_trigger host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file stage_prefix_set_by_configure quoted_stage_prefix_set_by_configure symbolic_link thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines target_noncanonical c_target_objs cxx_target_objs target_cpu_default LIBOBJS LTLIBOBJS' ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os build_subdir host_subdir target_subdir GENINSRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT NO_MINUS_C_MINUS_O OUTPUT_OPTION CPP GNATBIND ac_ct_GNATBIND strict1_warn warn_cflags WERROR nocommon_flag EGREP valgrind_path valgrind_path_defines valgrind_command coverage_flags enable_multilib enable_shared TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE CROSS_SYSTEM_HEADER_DIR onestep SET_MAKE AWK LN LN_S RANLIB ac_ct_RANLIB INSTALL INSTALL_PROGRAM INSTALL_DATA make_compare_target have_mktemp_command MAKEINFO BUILD_INFO GENERATED_MANPAGES FLEX BISON stage1_cflags COLLECT2_LIBS GNAT_LIBEXC LDEXP_LIB TARGET_GETGROUPS_T LIBICONV LIBICONV_DEP manext objext gthread_flags extra_modes_file FORBUILD PACKAGE VERSION USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS CROSS ALL SYSTEM_HEADER_DIR inhibit_libc BUILD_PREFIX BUILD_PREFIX_1 CC_FOR_BUILD BUILD_CFLAGS STMP_FIXINC STMP_FIXPROTO libgcc_visibility GGC zlibdir zlibinc MAINT gcc_tooldir dollar slibdir objdir subdirs srcdir all_boot_languages all_compilers all_gtfiles all_gtfiles_files_langs all_gtfiles_files_files all_lang_makefrags all_lang_makefiles all_languages all_stagestuff build_exeext build_install_headers_dir build_xm_file_list build_xm_include_list build_xm_defines check_languages cc_set_by_configure quoted_cc_set_by_configure cpp_install_dir xmake_file tmake_file extra_gcc_objs extra_headers_list extra_objs extra_parts extra_passes extra_programs float_h_file gcc_config_arguments gcc_gxx_include_dir libstdcxx_incdir gcc_version gcc_version_full gcc_version_trigger host_exeext host_xm_file_list host_xm_include_list host_xm_defines out_host_hook_obj install lang_opt_files lang_specs_files lang_tree_files local_prefix md_file objc_boehm_gc out_file out_object_file stage_prefix_set_by_configure quoted_stage_prefix_set_by_configure symbolic_link thread_file tm_file_list tm_include_list tm_defines tm_p_file_list tm_p_include_list xm_file_list xm_include_list xm_defines target_noncanonical c_target_objs cxx_target_objs target_cpu_default LIBOBJS LTLIBOBJS'
ac_subst_files='language_hooks' ac_subst_files='language_hooks'
# Initialize some variables set by options. # Initialize some variables set by options.
...@@ -981,7 +981,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` ...@@ -981,7 +981,7 @@ ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
else else
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
fi fi
cd $ac_popdir cd "$ac_popdir"
done done
fi fi
...@@ -1178,7 +1178,7 @@ _ASBOX ...@@ -1178,7 +1178,7 @@ _ASBOX
echo "$as_me: caught signal $ac_signal" echo "$as_me: caught signal $ac_signal"
echo "$as_me: exit $exit_status" echo "$as_me: exit $exit_status"
} >&5 } >&5
rm -f core core.* *.core && rm -f core *.core &&
rm -rf conftest* confdefs* conf$$* $ac_clean_files && rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
exit $exit_status exit $exit_status
' 0 ' 0
...@@ -2517,8 +2517,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ...@@ -2517,8 +2517,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then (exit $ac_status); }; }; then
for ac_declaration in \ for ac_declaration in \
''\ '' \
'#include <stdlib.h>' \
'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \
'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int) throw ();' \
...@@ -2532,8 +2531,8 @@ _ACEOF ...@@ -2532,8 +2531,8 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */ /* end confdefs.h. */
#include <stdlib.h>
$ac_declaration $ac_declaration
#include <stdlib.h>
int int
main () main ()
{ {
...@@ -4008,7 +4007,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -4008,7 +4007,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
...@@ -5006,7 +5005,7 @@ if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then ...@@ -5006,7 +5005,7 @@ if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then
else else
ac_prog_version=`$MAKEINFO --version 2>&1 | ac_prog_version=`$MAKEINFO --version 2>&1 |
sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'` sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
echo "configure:5009: version of makeinfo is $ac_prog_version" >&5 echo "configure:5008: version of makeinfo is $ac_prog_version" >&5
case $ac_prog_version in case $ac_prog_version in
'') gcc_cv_prog_makeinfo_modern=no;; '') gcc_cv_prog_makeinfo_modern=no;;
4.[2-9]*) 4.[2-9]*)
...@@ -5344,7 +5343,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -5344,7 +5343,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_header_stdc=no ac_cv_header_stdc=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
...@@ -5983,7 +5982,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -5983,7 +5982,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_c_bigendian=yes ac_cv_c_bigendian=yes
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
fi fi
...@@ -6582,7 +6581,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -6582,7 +6581,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
gcc_cv_func_mbstowcs_works=no gcc_cv_func_mbstowcs_works=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $gcc_cv_func_mbstowcs_works" >&5 echo "$as_me:$LINENO: result: $gcc_cv_func_mbstowcs_works" >&5
...@@ -6753,7 +6752,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -6753,7 +6752,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_type_getgroups=int ac_cv_type_getgroups=int
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
if test $ac_cv_type_getgroups = cross; then if test $ac_cv_type_getgroups = cross; then
cat >conftest.$ac_ext <<_ACEOF cat >conftest.$ac_ext <<_ACEOF
...@@ -6847,7 +6846,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -6847,7 +6846,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
gcc_cv_func_printf_ptr=no gcc_cv_func_printf_ptr=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
rm -f core core.* *.core rm -f core core.* *.core
fi fi
...@@ -7260,7 +7259,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -7260,7 +7259,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_fork_works=no ac_cv_func_fork_works=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
...@@ -7415,7 +7414,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -7415,7 +7414,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
ac_cv_func_vfork_works=no ac_cv_func_vfork_works=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
...@@ -8444,7 +8443,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 ...@@ -8444,7 +8443,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
( exit $ac_status ) ( exit $ac_status )
gcc_cv_initfini_array=no gcc_cv_initfini_array=no
fi fi
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi fi
fi fi
echo "$as_me:$LINENO: result: $gcc_cv_initfini_array" >&5 echo "$as_me:$LINENO: result: $gcc_cv_initfini_array" >&5
...@@ -8746,6 +8745,10 @@ if test "$host_xm_file" != "$build_xm_file"; then ...@@ -8746,6 +8745,10 @@ if test "$host_xm_file" != "$build_xm_file"; then
fi fi
fi fi
# ---------
# Threading
# ---------
# Check if a valid thread package # Check if a valid thread package
case ${enable_threads_flag} in case ${enable_threads_flag} in
"" | no) "" | no)
...@@ -8772,6 +8775,19 @@ if test x${thread_file} = x; then ...@@ -8772,6 +8775,19 @@ if test x${thread_file} = x; then
thread_file=${target_thread_file} thread_file=${target_thread_file}
fi fi
# Make gthr-default.h if we have a thread file.
gthread_flags=
if test $thread_file != single; then
rm -f gthr-default.h
echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
gthread_flags=-DHAVE_GTHR_DEFAULT
fi
# --------
# UNSORTED
# --------
if test x$enable___cxa_atexit = xyes || \ if test x$enable___cxa_atexit = xyes || \
test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; then test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; then
echo "$as_me:$LINENO: checking for __cxa_atexit" >&5 echo "$as_me:$LINENO: checking for __cxa_atexit" >&5
...@@ -9435,6 +9451,10 @@ case $use_collect2 in ...@@ -9435,6 +9451,10 @@ case $use_collect2 in
;; ;;
esac esac
# ---------------------------
# Assembler & linker features
# ---------------------------
# Identify the assembler which will work hand-in-glove with the newly # Identify the assembler which will work hand-in-glove with the newly
# built GCC, so that we can examine its features. This is the assembler # built GCC, so that we can examine its features. This is the assembler
# which will be driven by the driver program. # which will be driven by the driver program.
...@@ -11275,6 +11295,10 @@ fi ...@@ -11275,6 +11295,10 @@ fi
echo "$as_me:$LINENO: result: $gcc_cv_ld_pie" >&5 echo "$as_me:$LINENO: result: $gcc_cv_ld_pie" >&5
echo "${ECHO_T}$gcc_cv_ld_pie" >&6 echo "${ECHO_T}$gcc_cv_ld_pie" >&6
# --------
# UNSORTED
# --------
if test x$with_sysroot = x && test x$host = x$target \ if test x$with_sysroot = x && test x$host = x$target \
&& test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
...@@ -11412,15 +11436,6 @@ The following languages were available: c${found_languages}" >&2;} ...@@ -11412,15 +11436,6 @@ The following languages were available: c${found_languages}" >&2;}
{ (exit 1); exit 1; }; } { (exit 1); exit 1; }; }
fi fi
# Make gthr-default.h if we have a thread file.
gthread_flags=
if test $thread_file != single; then
rm -f gthr-default.h
echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
gthread_flags=-DHAVE_GTHR_DEFAULT
fi
# Find out what GC implementation we want, or may, use. # Find out what GC implementation we want, or may, use.
# Check whether --with-gc or --without-gc was given. # Check whether --with-gc or --without-gc was given.
...@@ -11476,6 +11491,10 @@ else ...@@ -11476,6 +11491,10 @@ else
MAINT='#' MAINT='#'
fi fi
# --------------
# Language hooks
# --------------
# Make empty files to contain the specs and options for each language. # Make empty files to contain the specs and options for each language.
# Then add #include lines to for a compiler that has specs and/or options. # Then add #include lines to for a compiler that has specs and/or options.
...@@ -11592,6 +11611,10 @@ do ...@@ -11592,6 +11611,10 @@ do
echo "lang.$t: $x" >> Make-hooks echo "lang.$t: $x" >> Make-hooks
done done
# --------
# UNSORTED
# --------
# Create .gdbinit. # Create .gdbinit.
echo "dir ." > .gdbinit echo "dir ." > .gdbinit
...@@ -12468,6 +12491,7 @@ s,@LIBICONV@,$LIBICONV,;t t ...@@ -12468,6 +12491,7 @@ s,@LIBICONV@,$LIBICONV,;t t
s,@LIBICONV_DEP@,$LIBICONV_DEP,;t t s,@LIBICONV_DEP@,$LIBICONV_DEP,;t t
s,@manext@,$manext,;t t s,@manext@,$manext,;t t
s,@objext@,$objext,;t t s,@objext@,$objext,;t t
s,@gthread_flags@,$gthread_flags,;t t
s,@extra_modes_file@,$extra_modes_file,;t t s,@extra_modes_file@,$extra_modes_file,;t t
s,@FORBUILD@,$FORBUILD,;t t s,@FORBUILD@,$FORBUILD,;t t
s,@PACKAGE@,$PACKAGE,;t t s,@PACKAGE@,$PACKAGE,;t t
...@@ -12491,7 +12515,6 @@ s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t ...@@ -12491,7 +12515,6 @@ s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
s,@STMP_FIXINC@,$STMP_FIXINC,;t t s,@STMP_FIXINC@,$STMP_FIXINC,;t t
s,@STMP_FIXPROTO@,$STMP_FIXPROTO,;t t s,@STMP_FIXPROTO@,$STMP_FIXPROTO,;t t
s,@libgcc_visibility@,$libgcc_visibility,;t t s,@libgcc_visibility@,$libgcc_visibility,;t t
s,@gthread_flags@,$gthread_flags,;t t
s,@GGC@,$GGC,;t t s,@GGC@,$GGC,;t t
s,@zlibdir@,$zlibdir,;t t s,@zlibdir@,$zlibdir,;t t
s,@zlibinc@,$zlibinc,;t t s,@zlibinc@,$zlibinc,;t t
......
...@@ -1118,6 +1118,10 @@ if test "$host_xm_file" != "$build_xm_file"; then ...@@ -1118,6 +1118,10 @@ if test "$host_xm_file" != "$build_xm_file"; then
fi fi
fi fi
# ---------
# Threading
# ---------
# Check if a valid thread package # Check if a valid thread package
case ${enable_threads_flag} in case ${enable_threads_flag} in
"" | no) "" | no)
...@@ -1144,6 +1148,19 @@ if test x${thread_file} = x; then ...@@ -1144,6 +1148,19 @@ if test x${thread_file} = x; then
thread_file=${target_thread_file} thread_file=${target_thread_file}
fi fi
# Make gthr-default.h if we have a thread file.
gthread_flags=
if test $thread_file != single; then
rm -f gthr-default.h
echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
gthread_flags=-DHAVE_GTHR_DEFAULT
fi
AC_SUBST(gthread_flags)
# --------
# UNSORTED
# --------
if test x$enable___cxa_atexit = xyes || \ if test x$enable___cxa_atexit = xyes || \
test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; then test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; then
AC_CHECK_FUNC(__cxa_atexit, AC_CHECK_FUNC(__cxa_atexit,
...@@ -2761,15 +2778,6 @@ The following requested languages were not found:${missing_languages} ...@@ -2761,15 +2778,6 @@ The following requested languages were not found:${missing_languages}
The following languages were available: c${found_languages}]) The following languages were available: c${found_languages}])
fi fi
# Make gthr-default.h if we have a thread file.
gthread_flags=
if test $thread_file != single; then
rm -f gthr-default.h
echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
gthread_flags=-DHAVE_GTHR_DEFAULT
fi
AC_SUBST(gthread_flags)
# Find out what GC implementation we want, or may, use. # Find out what GC implementation we want, or may, use.
AC_ARG_WITH(gc, AC_ARG_WITH(gc,
[ --with-gc={page,zone} choose the garbage collection mechanism to use [ --with-gc={page,zone} choose the garbage collection mechanism to use
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment