summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
author(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-03 12:16:45 +0000
committer(no author) <(no author)@280ebfd0-de03-0410-8827-d642c229c3f4>2005-08-03 12:16:45 +0000
commitfa35da8a4d767010ac576f905674660ba77298b9 (patch)
treebd6d1dec1f3b712a11a43a06db90ffc6fa592e95 /acinclude.m4
parent72f6fe2312386189718003ff74b1be84c869d675 (diff)
downloadmpfr-2-1-2-rel.tar.gz
This commit was manufactured by cvs2svn to create tagmpfr-2-1-2-rel
'mpfr-2-1-2-rel'. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/tags/mpfr-2-1-2-rel@3701 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m416
1 files changed, 14 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 952e2256b..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.
@@ -40,7 +40,12 @@ then
then
LIBS="$LIBS $1/lib$2.so"
else
- AC_MSG_ERROR($1/lib$2.a/so not found)
+ if test -r "$1/lib$2.lib"
+ then
+ LIBS="$LIBS $1/lib$2.lib"
+ else
+ AC_MSG_ERROR($1/lib$2.a/so/lib not found)
+ fi
fi
fi
AC_MSG_RESULT(yes)
@@ -146,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"