@@@ fltfmt mess
[mLib] / configure.ac
index 5a5e0ff..416b25f 100644 (file)
@@ -55,6 +55,7 @@ MLIB_LIBS=
 dnl Headers.
 AC_CHECK_HEADERS([float.h])
 AC_CHECK_HEADERS([stdint.h])
+AC_CHECK_HEADERS([valgrind/valgrind.h])
 
 dnl Libraries.
 mdw_ORIG_LIBS=$LIBS LIBS=$MLIB_LIBS
@@ -71,18 +72,21 @@ AC_CHECK_TYPE([socklen_t], [],
   [AC_DEFINE([socklen_t], [int],
      [Define to `int' if <sys/socket.h> does not define])],
   [AC_INCLUDES_DEFAULT
-#include <sys/socket.h>
+@%:@include <sys/socket.h>
 ])
 
 dnl Which version of struct msghdr do we have?
 AC_CHECK_MEMBERS([struct msgdr.msg_control],,, [
-#include <sys/types.h>
-#include <sys/socket.h>
+@%:@include <sys/types.h>
+@%:@include <sys/socket.h>
 ])
 
 dnl Find out whether we're cross-compiling.
 AM_CONDITIONAL([CROSS_COMPILING], [test "$cross_compiling" = yes])
 
+dnl Floating-point formats.
+mdw_PROBE_FLTFMT
+
 dnl Set the master library list.
 AC_SUBST([MLIB_LIBS])