The attached change fixes the build of libgfortran on hppa1.1-hp- hpux10.20 (I know I'm going
for the oldest system that will build gfortran).

OK?

Dave
--
John David Anglin       dave.ang...@bell.net


2014-08-08  John David Anglin  <dang...@gcc.gnu.org>

        * configure.ac: Guard include of <ieeefp.h>.
        * configure: Rebuilt.

Index: configure.ac
===================================================================
--- configure.ac        (revision 212093)
+++ configure.ac        (working copy)
@@ -522,11 +522,15 @@
 # Check for SysV fpsetmask
 LIBGFOR_CHECK_FPSETMASK
 AC_CHECK_TYPES([fp_except,fp_except_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
 #include <ieeefp.h>
+#endif
 #include <math.h>
 ]])
 AC_CHECK_TYPES([fp_rnd,fp_rnd_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
 #include <ieeefp.h>
+#endif
 #include <math.h>
 ]])
 

Reply via email to