acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 7 Jul 2008 19:16:18 +0000 (19:16 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Mon, 7 Jul 2008 19:16:18 +0000 (19:16 +0000)
libgfortran/
* acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
variable name.
* configure: Regenerate.

From-SVN: r137592

libgfortran/ChangeLog
libgfortran/acinclude.m4
libgfortran/configure

index 6e3a729fc7a7af82c971d4cbf8152a1946c7803d..18bd7b1189a2a746bce366470cdae0150e20f8aa 100644 (file)
@@ -1,3 +1,9 @@
+2008-07-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
+       variable name.
+       * configure: Regenerate.
+
 2008-07-01  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
 
        PR fortran/36676
index d1994b49d90f14b7266886556d1b744e72531d98..9f8ae54fab631e27340be2864b3201a3a83401eb 100644 (file)
@@ -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])
index 176632426b8ef5078543652b8657d39cb6280247..0bd9a22d43fcf8aa7c257c95260081561f3c6e9a 100755 (executable)
@@ -33157,16 +33157,16 @@ _ACEOF
 
   echo "$as_me:$LINENO: checking configured target thread model" >&5
 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
-if test "${target_thread_file+set}" = set; then
+if test "${libgfor_cv_target_thread_file+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 
-target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
+libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
 fi
-echo "$as_me:$LINENO: result: $target_thread_file" >&5
-echo "${ECHO_T}$target_thread_file" >&6
+echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
+echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
 
-  if test $target_thread_file != single; then
+  if test $libgfor_cv_target_thread_file != single; then
 
 cat >>confdefs.h <<\_ACEOF
 #define HAVE_GTHR_DEFAULT 1