patch-configure 810 B

123456789101112131415161718192021222324252627282930313233
  1. --- openldap-2.4.42.orig/configure 2015-08-14 17:25:28.000000000 +0200
  2. +++ openldap-2.4.42/configure 2015-10-22 07:28:53.000000000 +0200
  3. @@ -22223,29 +22223,10 @@ $as_echo "$as_me: WARNING: Strong authen
  4. fi
  5. fi
  6. -if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then
  7. - dev=no
  8. - if test -r /dev/urandom ; then
  9. - dev="/dev/urandom";
  10. - elif test -r /idev/urandom ; then
  11. - dev="/idev/urandom";
  12. - elif test -r /dev/srandom ; then
  13. - dev="/dev/srandom";
  14. - elif test -r /dev/random ; then
  15. - dev="/dev/random";
  16. - elif test -r /idev/random ; then
  17. - dev="/idev/random";
  18. - fi
  19. -
  20. - if test $dev != no ; then
  21. -
  22. cat >>confdefs.h <<_ACEOF
  23. -#define URANDOM_DEVICE "$dev"
  24. +#define URANDOM_DEVICE "/dev/urandom"
  25. _ACEOF
  26. - fi
  27. -fi
  28. -
  29. ol_link_fetch=no
  30. if test $ol_with_fetch != no ; then
  31. ol_LIBS=$LIBS