This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libgfortran]: another config.cache variable name
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sun, 6 Jul 2008 10:57:51 +0200
- Subject: Re: [PATCH, libgfortran]: another config.cache variable name
- References: <20080617220206.GA25894@ins.uni-bonn.de>
Ping! <http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01109.html>
* Ralf Wildenhues wrote on Wed, Jun 18, 2008 at 12:02:07AM CEST:
> OK for trunk? This is close to obvious, I hope.
>
> Thanks,
> Ralf
>
> libgfortran/ChangeLog:
> 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
>
> * acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache
> variable name.
>
> 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])