patch-configure 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. $Id$
  2. --- engine_pkcs11-0.1.3.orig/configure 2005-11-23 21:44:23.000000000 +0100
  3. +++ engine_pkcs11-0.1.3/configure 2007-04-08 14:22:29.000000000 +0200
  4. @@ -20061,56 +20061,6 @@ if test "${with_openssl+set}" = set; the
  5. fi
  6. CPPFLAGS="-I$withval/include $saved_CPPFLAGS"
  7. - if test "$cross_compiling" = yes; then
  8. - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  9. -See \`config.log' for more details." >&5
  10. -echo "$as_me: error: cannot run test program while cross compiling
  11. -See \`config.log' for more details." >&2;}
  12. - { (exit 1); exit 1; }; }
  13. -else
  14. - cat >conftest.$ac_ext <<_ACEOF
  15. -/* confdefs.h. */
  16. -_ACEOF
  17. -cat confdefs.h >>conftest.$ac_ext
  18. -cat >>conftest.$ac_ext <<_ACEOF
  19. -/* end confdefs.h. */
  20. -
  21. -#include <string.h>
  22. -#include <openssl/rand.h>
  23. -int main(void)
  24. -{
  25. - char a[2048];
  26. - memset(a, 0, sizeof(a));
  27. - RAND_add(a, sizeof(a), sizeof(a));
  28. - return(RAND_status() <= 0);
  29. -}
  30. -
  31. -_ACEOF
  32. -rm -f conftest$ac_exeext
  33. -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  34. - (eval $ac_link) 2>&5
  35. - ac_status=$?
  36. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  37. - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  38. - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
  39. - (eval $ac_try) 2>&5
  40. - ac_status=$?
  41. - echo "$as_me:$LINENO: \$? = $ac_status" >&5
  42. - (exit $ac_status); }; }; then
  43. -
  44. - SSL_MSG="yes"
  45. - ssldir="$withval"
  46. - break
  47. -
  48. -else
  49. - echo "$as_me: program exited with status $ac_status" >&5
  50. -echo "$as_me: failed program was:" >&5
  51. -sed 's/^/| /' conftest.$ac_ext >&5
  52. -
  53. -fi
  54. -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  55. -fi
  56. -
  57. else