From 1b9fef3ee97f88250b2bccd2067f8f71e222015c Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Fri, 25 Feb 2011 17:56:04 +0000
Subject: [PATCH] acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
 tested in configure.host.

	* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
	tested in configure.host.
	* configure: Regenerate.

From-SVN: r170500
---
 libgfortran/ChangeLog    | 6 ++++++
 libgfortran/acinclude.m4 | 1 +
 libgfortran/configure    | 1 +
 3 files changed, 8 insertions(+)

diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index fc7a2c4ca6dc..dbafd0c95891 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-25  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+	* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): Set shell variable
+	tested in configure.host.
+	* configure: Regenerate.
+
 2011-02-24  Janne Blomqvist  <jb@gcc.gnu.org>
 
 	PR libfortran/47802
diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4
index 1bc1c7bbbfd0..395a1eabe99e 100644
--- a/libgfortran/acinclude.m4
+++ b/libgfortran/acinclude.m4
@@ -244,6 +244,7 @@ AC_DEFUN([LIBGFOR_CHECK_FPSETMASK], [
     eval "libgfor_cv_have_fpsetmask=yes", eval "libgfor_cv_have_fpsetmask=no")
   ])
   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
+    have_fpsetmask=yes
     AC_DEFINE(HAVE_FPSETMASK, 1, [Define if you have fpsetmask.])
   fi
 ])
diff --git a/libgfortran/configure b/libgfortran/configure
index 749cd0006510..13a079f9f245 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -25395,6 +25395,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
+    have_fpsetmask=yes
 
 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
 
-- 
GitLab