Patchwork [build] More --enable-threads cleanup

login
register
mail settings
Submitter Rainer Orth
Date May 2, 2011, 2:25 p.m.
Message ID <yddwri9gowm.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/93667/
State New
Headers show

Comments

Rainer Orth - May 2, 2011, 2:25 p.m.
In my last --enable-threads cleanup patch

	[build, doc] Cleanup --enable-threads support
        http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00735.html

I missed another opportunity, handled by this patch.

Bootstrapped on i386-pc-solaris2.11 (not that it's relevant).  Ok for
mainline?

	Rainer


2011-04-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	gcc:
	* configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list.
	* configure: Regenerate.
Arnaud Charlet - May 2, 2011, 3 p.m.
> In my last --enable-threads cleanup patch
> 
> 	[build, doc] Cleanup --enable-threads support
>         http://gcc.gnu.org/ml/gcc-patches/2011-04/msg00735.html
> 
> I missed another opportunity, handled by this patch.

BTW, feel free to also remove any trace of --enable-threads=gnat.

This is a long obsolete option which has never really been used and should
be removed. I never got around the time to submit a patch to that effect,
so if you feel like doing this clean up, that'd be welcome.

Arno

Patch

diff --git a/gcc/configure.ac b/gcc/configure.ac
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1331,8 +1331,8 @@  case ${enable_threads} in
     # default
     target_thread_file='single'
     ;;
-  aix | dce | gnat | irix | posix | posix95 | rtems | \
-  single | vxworks | win32 | mipssde)
+  aix | dce | gnat | lynx | mipssde | nks | posix | posix95 | rtems | \
+  single | tpf | vxworks | win32)
     target_thread_file=${enable_threads}
     ;;
   *)