Branch: Tag:

2001-06-12

2001-06-12 14:22:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added check for <float.h> and _isnan().

Rev: src/configure.in:1.524

1: - AC_REVISION("$Id: configure.in,v 1.523 2001/06/08 00:37:27 hubbe Exp $") + AC_REVISION("$Id: configure.in,v 1.524 2001/06/12 14:22:39 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1854:   winsock.h sys/ioct.h sys/socket.h malloc.h netinet/in.h sys/wait.h winbase.h \   grp.h pwd.h passwd.h group.h winsock2.h signal.h sys/file.h poll.h sys/poll.h \   socket.h ieeefp.h fp_class.h floatingpoint.h sys/priocntl.h sys/sched.h \ - windows.h errno.h stddef.h mmx.h) + windows.h float.h errno.h stddef.h mmx.h)      # some Linux systems have a broken resource.h that compiles anyway /Mirar   AC_MSG_CHECKING([for sys/resource.h])
2682:    exit(!(isinf(pinf)>0 && isinf(ninf)<0 && isnan(nan)));   ])   ############################################################################# + MY_CHECK_FUNCTION(_isnan, + [ + #include <float.h> + ], [ +  exit(_isnan(0.0)); + ]) + #############################################################################      # FreeBSD 3.0 has broken F_SETFD when running with threads.