summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 6a813f205..f5ef1d882 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,6 +1,6 @@
dnl MPFR specific autoconf macros
-dnl Copyright 2000, 2002, 2003 Free Software Foundation.
+dnl Copyright 2000, 2002, 2003, 2004 Free Software Foundation.
dnl Contributed by the Spaces project, INRIA Lorraine.
dnl
dnl This file is part of the MPFR Library.
@@ -151,6 +151,13 @@ esac
#
AC_CHECK_HEADERS(sys/fpu.h)
+AC_CHECK_TYPE( [union fpc_csr], AC_DEFINE(HAVE_FPC_CSR), ,
+[
+#if HAVE_SYS_FPU_H
+# include <sys/fpu.h>
+#endif
+])
+
dnl Check for fesetround
AC_CACHE_CHECK([for fesetround], mpfr_cv_have_fesetround, [
saved_LIBS="$LIBS"