pthreads
sdl
sdl_video_size
+ soundcard_h
+ sys_soundcard_h
threads
w32threads
'
LDCONFIG="echo ignoring ldconfig"
SHFLAGS=-nostart
# disable Linux things
- audio_oss="no"
dv1394="no"
# enable BeOS things
audio_beos="yes"
extralibs="-lnet"
fi ;;
SunOS)
- audio_oss="no"
dv1394="no"
make="gmake"
FFLDFLAGS=""
;;
NetBSD)
bktr="yes"
- audio_oss="yes"
dv1394="no"
make="gmake"
add_extralibs "-lossaudio"
;;
OpenBSD)
bktr="yes"
- audio_oss="yes"
dv1394="no"
need_memalign="no"
make="gmake"
;;
FreeBSD)
bktr="yes"
- audio_oss="yes"
dv1394="no"
make="gmake"
need_memalign="no"
;;
GNU/kFreeBSD)
bktr="yes"
- audio_oss="yes"
dv1394="no"
add_cflags "-pthread"
;;
BSD/OS)
bktr="yes"
- audio_oss="yes"
dv1394="no"
extralibs="-lpoll -lgnugetopt -lm"
make="gmake"
;;
Darwin)
cc="cc"
- audio_oss="no"
dv1394="no"
need_memalign="no"
SHFLAGS="-dynamiclib -Wl,-single_module -Wl,-install_name,\$(shlibdir)/\$(SLIBNAME),-current_version,\$(SPPVERSION),-compatibility_version,\$(SPPVERSION) -Wl,-read_only_relocs,suppress"
CYGWIN*)
targetos=CYGWIN
shlibdir="$bindir"
- audio_oss="yes"
dv1394="no"
VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
IRIX*)
targetos=IRIX
ranlib="echo ignoring ranlib"
- audio_oss="no"
make="gmake"
;;
OS/2)
EXESUF=".exe"
extralibs=""
pkg_requires=""
- audio_oss="no"
dv1394="no"
ffserver="no"
vhook="no"
EOF
exit 1
fi
- audio_oss="no"
dv1394="no"
dc1394="no"
ffserver="no"
check_header dev/ic/bt8xx.h
fi
+enabled audio_oss &&
+ check_header sys/soundcard.h ||
+ check_header soundcard.h ||
+ disable audio_oss
+
# Deal with the x11 frame grabber
enabled x11grab &&
enabled gpl &&