From 6b01eac94721b0bd4066f25b154b8f87fe501d50 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Mon, 22 Mar 2004 23:45:35 +0000 Subject: [PATCH] (AC_CHECK_FUNCS): Add sysconf. (AC_CHECK_HEADERS): Add netdb.h and sys/param.h. --- configure.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index bd0d627b4..8a47bf4bb 100644 --- a/configure.in +++ b/configure.in @@ -599,11 +599,16 @@ AC_CHECK_HEADERS([assert.h crt_externs.h]) # DQNAN - OSF specific # (DINFINITY and DQNAN are actually global variables, not functions) # gmtime_r - recent posix, not on old systems +# sysconf - not on old systems # _NSGetEnviron - Darwin specific # -AC_CHECK_FUNCS([DINFINITY DQNAN ctermid ftime fchown getcwd geteuid gettimeofday gmtime_r lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex unsetenv _NSGetEnviron]) +AC_CHECK_FUNCS([DINFINITY DQNAN ctermid ftime fchown getcwd geteuid gettimeofday gmtime_r lstat mkdir mknod nice readlink rename rmdir select setegid seteuid setlocale setpgid setsid sigaction siginterrupt strftime strptime symlink sync sysconf tcgetpgrp tcsetpgrp times uname waitpid strdup system usleep atexit on_exit chown link fcntl ttyname getpwent getgrent kill getppid getpgrp fork setitimer getitimer strchr strcmp index bcopy memcpy rindex unsetenv _NSGetEnviron]) -AC_CHECK_HEADERS(crypt.h sys/resource.h sys/file.h) +# Reasons for testing: +# netdb.h - not in mingw +# sys/param.h - not in mingw +# +AC_CHECK_HEADERS(crypt.h netdb.h sys/param.h sys/resource.h sys/file.h) AC_CHECK_FUNCS(chroot flock getlogin cuserid getpriority setpriority getpass sethostname gethostname) # crypt() may or may not be available, for instance in some countries there