aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/acinclude.m4
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-07-07 19:16:18 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2008-07-07 19:16:18 +0000
commit10465436b53ca9071b1e7d660f23fc54f743e931 (patch)
tree94d1522058e5fcc07a988ae438dd19e2790ee88c /libgfortran/acinclude.m4
parent9088c1cc654a768bf3481519372ac3b0853feb4d (diff)
downloadgcc-10465436b53ca9071b1e7d660f23fc54f743e931.zip
gcc-10465436b53ca9071b1e7d660f23fc54f743e931.tar.gz
gcc-10465436b53ca9071b1e7d660f23fc54f743e931.tar.bz2
acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name.
libgfortran/ * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. * configure: Regenerate. From-SVN: r137592
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 d1994b4..9f8ae54 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])