configure.in: Finish fixing calculation if default thread support is enabled.
authorDoug Evans <dje@gnu.org>
Fri, 25 Jul 1997 19:42:24 +0000 (19:42 +0000)
committerDoug Evans <dje@gnu.org>
Fri, 25 Jul 1997 19:42:24 +0000 (19:42 +0000)
* configure.in: Finish fixing calculation if default thread
support is enabled.

From-SVN: r14530

gcc/configure.in

index 81d9dfd0a5042081b4cce8eeab2b6b90734ce8f1..f18d23088fa2eecb853b9dc73867188944a57529 100644 (file)
@@ -277,7 +277,7 @@ for machine in $build $host $target; do
                fixincludes=Makefile.in
                extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
                gas=yes gnu_ld=yes
-               if [[ x$thread_file = x ]]; then
+               if [[ x$enable_threads = xyes ]]; then
                        thread_file='posix'
                fi
                ;;
@@ -1468,7 +1468,7 @@ for machine in $build $host $target; do
                fixincludes=Makefile.in #On Linux, the headers are ok already.
                extra_headers=math-68881.h
                gnu_ld=yes
-               if [[ x$thread_file = x ]]; then
+               if [[ x$enable_threads = xyes ]]; then
                        thread_file='posix'
                fi
                ;;
@@ -2147,7 +2147,7 @@ for machine in $build $host $target; do
                fixincludes=Makefile.in
                extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
                extra_headers=ppc-asm.h
-               if [[ x$thread_file = x ]]; then
+               if [[ x$enable_threads = xyes ]]; then
                        thread_file='posix'
                fi
                ;;
@@ -2325,7 +2325,7 @@ for machine in $build $host $target; do
                fixincludes=Makefile.in #On Linux, the headers are ok already.
                broken_install=yes
                gnu_ld=yes
-               if [[ x$thread_file = x ]]; then
+               if [[ x$enable_threads = xyes ]]; then
                        thread_file='posix'
                fi
                ;;