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.

15 lines
684 B

  1. --- a/SConstruct
  2. +++ b/SConstruct
  3. @@ -1047,12 +1047,6 @@ else:
  4. confdefs.append("/* #undef HAVE_%s_H */\n"
  5. % hdr.replace("/", "_").upper())
  6. - sizeof_time_t = config.CheckSizeOf("time_t")
  7. - confdefs.append("#define SIZEOF_TIME_T %s\n" % sizeof_time_t)
  8. - announce("sizeof(time_t) is %s" % sizeof_time_t)
  9. - if 4 >= int(sizeof_time_t):
  10. - announce("WARNING: time_t is too small. It will fail in 2038")
  11. -
  12. # check function after libraries, because some function require libraries
  13. # for example clock_gettime() require librt on Linux glibc < 2.17
  14. for f in ("cfmakeraw", "clock_gettime", "daemon", "fcntl", "fork",