$FreeBSD$ --- configure.orig +++ configure @@ -2772,7 +2772,7 @@ OTHERLIBS= if test "$shared" = true; then case "$target_os" in - linux*) + linux*|*bsd*) SHFLAGS="-fPIC" ;; solaris*) @@ -3989,7 +3989,7 @@ AUDIODEFS=-DCST_AUDIO_ALSA AUDIOLIBS=-lasound ;; - *bsd) + *bsd*) AUDIODRIVER=oss AUDIODEFS=-DCST_AUDIO_FREEBSD ;;