summaryrefslogtreecommitdiff
path: root/libgfortran/acinclude.m4
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-07 19:16:18 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-07-07 19:16:18 +0000
commite0771fc0d4cbcf230a1bb89851d3b20eb6fff637 (patch)
tree94d1522058e5fcc07a988ae438dd19e2790ee88c /libgfortran/acinclude.m4
parentdd1c91571a66d7e9917e7bde989fc343ee5f6cc3 (diff)
downloadgcc-e0771fc0d4cbcf230a1bb89851d3b20eb6fff637.tar.gz
libgfortran/
* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137592 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/acinclude.m4')
-rw-r--r--libgfortran/acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4
index d1994b49d90..9f8ae54fab6 100644
--- a/libgfortran/acinclude.m4
+++ b/libgfortran/acinclude.m4
@@ -86,10 +86,10 @@ if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);],
dnl Check if threads are supported.
AC_DEFUN([LIBGFOR_CHECK_GTHR_DEFAULT], [
AC_CACHE_CHECK([configured target thread model],
- target_thread_file, [
-target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`])
+ libgfor_cv_target_thread_file, [
+libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`])
- if test $target_thread_file != single; then
+ if test $libgfor_cv_target_thread_file != single; then
AC_DEFINE(HAVE_GTHR_DEFAULT, 1,
[Define if the compiler has a thread header that is non single.])
fi])