patch-configure 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --- srelay-0.4.7b2.orig/configure 2009-08-30 15:06:32.000000000 +0200
  2. +++ srelay-0.4.7b2/configure 2009-12-11 23:56:31.000000000 +0100
  3. @@ -1858,43 +1858,11 @@ test -n "$target_alias" &&
  4. NONENONEs,x,x, &&
  5. program_prefix=${target_alias}-
  6. -case "$build_os" in
  7. - freebsd*)
  8. - OS=FREEBSD
  9. - cat >>confdefs.h <<\_ACEOF
  10. -#define FREEBSD 1
  11. -_ACEOF
  12. -
  13. - ;;
  14. - solaris*)
  15. - OS=SOLARIS
  16. - cat >>confdefs.h <<\_ACEOF
  17. -#define SOLARIS 1
  18. -_ACEOF
  19. -
  20. - ;;
  21. - linux*)
  22. - case "$build_cpu" in
  23. - i*86)
  24. - OS=LINUX
  25. - cat >>confdefs.h <<\_ACEOF
  26. +OS=LINUX
  27. +cat >>confdefs.h <<\_ACEOF
  28. #define LINUX 1
  29. _ACEOF
  30. - ;;
  31. - esac
  32. - ;;
  33. - darwin*)
  34. - OS=MACOSX
  35. - cat >>confdefs.h <<\_ACEOF
  36. -#define MACOSX 1
  37. -_ACEOF
  38. -
  39. - ;;
  40. -esac
  41. -
  42. -CFLAGS="$CFLAGS -O2 -Wall"
  43. -
  44. if test -d /usr/local/lib; then
  45. LIBS="-L/usr/local/lib $LIBS"
  46. fi