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.

49 lines
1.5 KiB

  1. diff -u --recursive dovecot-2.2.35-vanilla/configure.ac dovecot-2.2.35/configure.ac
  2. --- dovecot-2.2.35-vanilla/configure.ac 2018-03-19 08:22:42.000000000 -0400
  3. +++ dovecot-2.2.35/configure.ac 2018-05-25 10:41:36.122503480 -0400
  4. @@ -490,9 +490,10 @@
  5. if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then
  6. AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[
  7. - AC_TRY_RUN([
  8. + AC_TRY_LINK([
  9. #include <sys/epoll.h>
  10. + ], [
  11. int main()
  12. {
  13. return epoll_create(5) < 1;
  14. @@ -596,7 +597,7 @@
  15. dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it.
  16. dnl * It may also be broken in AIX.
  17. AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[
  18. - AC_TRY_RUN([
  19. + AC_TRY_LINK([
  20. #define _XOPEN_SOURCE 600
  21. #include <stdio.h>
  22. #include <stdlib.h>
  23. @@ -605,6 +606,7 @@
  24. #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
  25. possibly broken posix_fallocate
  26. #endif
  27. + ], [
  28. int main() {
  29. int fd = creat("conftest.temp", 0600);
  30. int ret;
  31. @@ -2059,7 +2061,7 @@
  32. # does the kerberos library support SPNEGO?
  33. AC_CACHE_CHECK([whether GSSAPI supports SPNEGO],i_cv_gssapi_spnego,[
  34. - AC_TRY_RUN([
  35. + AC_TRY_LINK([
  36. #ifdef HAVE_GSSAPI_H
  37. # include <gssapi.h>
  38. #else
  39. @@ -2067,6 +2069,7 @@
  40. #endif
  41. #include <krb5.h>
  42. #include <string.h>
  43. + ], [
  44. int main(void) {
  45. OM_uint32 minor_status;
  46. gss_OID_set mech_set;