This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] More cleanup in configure.ac
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 29 Feb 2004 17:48:57 -0500
- Subject: [committed] More cleanup in configure.ac
Bootstrapped i686-pc-linux-gnu, committed. This is more of the "untangle
the configure file so ordinary mortals can understand it" work. :-P
* configure.ac: Rearrange some threading code for clarity;
add section comment.
* configure: Regenerate.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.ac,v
retrieving revision 2.18
diff -u -r2.18 configure.ac
--- configure.ac 29 Feb 2004 20:43:44 -0000 2.18
+++ configure.ac 29 Feb 2004 20:49:30 -0000
@@ -1118,6 +1118,10 @@
fi
fi
+# ---------
+# Threading
+# ---------
+
# Check if a valid thread package
case ${enable_threads_flag} in
"" | no)
@@ -1144,6 +1148,19 @@
thread_file=${target_thread_file}
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 || \
test x$enable___cxa_atexit = x -a x$default_use_cxa_atexit = xyes; then
AC_CHECK_FUNC(__cxa_atexit,
@@ -2760,15 +2777,6 @@
The following requested languages were not found:${missing_languages}
The following languages were available: c${found_languages}])
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.
AC_ARG_WITH(gc,
--
Nathanael Nerode <neroden at gcc.gnu.org>
US citizens: if you're considering voting for Bush, look at these first:
http://www.misleader.org/ http://www.cbc.ca/news/background/arar/
http://www.house.gov/reform/min/politicsandscience/