projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
982f8d0
)
Check for fenv_t and fexcept_t in microcode/configure.
author
Taylor R Campbell
<campbell@mumble.net>
Mon, 1 Nov 2010 05:03:59 +0000
(
05:03
+0000)
committer
Taylor R Campbell
<campbell@mumble.net>
Mon, 1 Nov 2010 05:03:59 +0000
(
05:03
+0000)
src/microcode/configure.ac
patch
|
blob
|
history
diff --git
a/src/microcode/configure.ac
b/src/microcode/configure.ac
index 66c1bdf83164e5a4ce89b5ba27aa8266ea60c821..9081ac32be7c09a9fd7093258b822c95c289c918 100644
(file)
--- a/
src/microcode/configure.ac
+++ b/
src/microcode/configure.ac
@@
-469,6
+469,13
@@
define([SCM_INC_BSDTTY],
#endif
])
+define([SCM_INC_FENV],
+ [
+ #ifdef HAVE_FENV_H
+ # include <fenv.h>
+ #endif
+ ])
+
dnl Checks for types and structs
AC_TYPE_MODE_T
AC_TYPE_OFF_T
@@
-547,6
+554,9
@@
AC_CHECK_TYPE([speed_t],
[Define to `short' if <termios.h> doesn't define.])],
[SCM_INC_TERMIO])
+AC_CHECK_TYPES([fenv_t], [], [], [SCM_INC_FENV])
+AC_CHECK_TYPES([fexcept_t], [], [], [SCM_INC_FENV])
+
AC_CHECK_SIZEOF([time_t])
AC_CHECK_SIZEOF([off_t])