You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
951 B

  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -51,7 +51,7 @@ AC_CHECK_HEADERS(stdio.h stdlib.h string
  4. syslog.h time.h errno.h sys/types.h sys/stat.h netinet/in.h \
  5. math.h sys/socket.h dirent.h ctype.h \
  6. mtent.h fcntl.h sys/param.h arpa/inet.h \
  7. - sys/vfs.h sys/pstat.h sys/sysinfo.h sys/statvfs.h sys/statfs.h \
  8. + sys/vfs.h sys/pstat.h sys/statvfs.h sys/statfs.h \
  9. sys/socket.h sys/loadavg.h arpa/inet.h \
  10. sys/vmmeter.h strings.h vm/vm_param.h \
  11. sys/time.h kstat.h sys/syscall.h sys/sysmacros.h \
  12. @@ -63,6 +63,11 @@ AC_CHECK_HEADERS(stdio.h stdlib.h string
  13. sys/timeb.h Winber.h lber.h ws2tcpip.h inttypes.h sys/file.h grp.h \
  14. execinfo.h libperfstat.h sys/systemcfg.h sys/mnttab.h mntent.h sys/times.h \
  15. dlfcn.h sys/utsname.h)
  16. +AC_CHECK_HEADERS(sys/sysinfo.h, [], [], [
  17. +#ifdef HAVE_LINUX_KERNEL_H
  18. +# include <linux/kernel.h>
  19. +#endif
  20. +])
  21. AC_CHECK_HEADERS(resolv.h, [], [], [
  22. #ifdef HAVE_SYS_TYPES_H
  23. # include <sys/types.h>