patch-configure 930 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $OpenBSD: patch-configure,v 1.2 2009/12/14 00:33:08 jakemsr Exp $
  2. --- configure.orig Tue Feb 18 08:18:20 2003
  3. +++ configure Wed Dec 9 20:13:56 2009
  4. @@ -1120,6 +1120,9 @@ if test "$shared" = true; then
  5. SHFLAGS="-fPIC"
  6. OTHERLIBS="-lsocket -ldl"
  7. ;;
  8. + openbsd*)
  9. + SHFLAGS="-shared -fPIC"
  10. + ;;
  11. *)
  12. ;;
  13. esac
  14. @@ -1492,7 +1495,7 @@ if test "${with_audio+set}" = set; then
  15. fi
  16. -if test "x$AUDIODEFS" = x; then
  17. +#if test "x$AUDIODEFS" = x; then
  18. case "$AUDIODRIVER" in
  19. linux|oss)
  20. AUDIODRIVER=oss
  21. @@ -1502,6 +1505,11 @@ if test "x$AUDIODEFS" = x; then
  22. AUDIODRIVER=oss
  23. AUDIODEFS=-DCST_AUDIO_FREEBSD
  24. ;;
  25. + sndio)
  26. + AUDIODRIVER=sndio
  27. + AUDIODEFS=-DCST_AUDIO_SNDIO
  28. + AUDIOLIBS=-lsndio
  29. + ;;
  30. qnx)
  31. AUDIODRIVER=alsa
  32. AUDIODEFS=-DCST_AUDIO_QNX
  33. @@ -1510,7 +1518,7 @@ if test "x$AUDIODEFS" = x; then
  34. AUDIODEFS=-DCST_AUDIO_NONE
  35. ;;
  36. esac
  37. -fi
  38. +#fi