aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def6
1 files changed, 5 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 96e2b97..f88976b 100644
--- a/auto.def
+++ b/auto.def
@@ -246,9 +246,13 @@ cc-check-functions ualarm lstat fork system select execvpe
cc-check-functions geteuid mkstemp realpath isatty
cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii
cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes
-cc-check-functions shutdown socketpair isinf isnan link symlink fsync dup umask
+cc-check-functions shutdown socketpair link symlink fsync dup umask
cc-check-functions localtime gmtime strptime clock_gettime
+cc-with {-includes math.h} {
+ cc-check-decls isinf isnan
+}
+
if {[have-feature fork]} {
# Only use vfork if not deprecated
cc-with {-nooutput 1} {