[FFmpeg-devel] [PATCH]Only build ffserver if SA_RESTART is defined
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Jul 12 22:26:23 CEST 2013
Hi!
qnx does not define SA_RESTART and cannot build ffserver, check for SA_RESTART
in configure.
Fixes ticket #2780
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index e6a6f57..7dfeec1 100755
--- a/configure
+++ b/configure
@@ -1500,6 +1500,7 @@ HAVE_LIST="
pthread_cancel
rdtsc
rsync_contimeout
+ sarestart
sched_getaffinity
sdl
SetConsoleTextAttribute
@@ -2214,7 +2215,7 @@ ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter
ffplay_deps="avcodec avformat swscale swresample sdl"
ffplay_select="rdft crop_filter"
ffprobe_deps="avcodec avformat"
-ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer"
+ffserver_deps="avformat ffm_muxer fork rtp_protocol rtsp_demuxer sarestart"
ffserver_extralibs='$ldl'
# documentation
@@ -4031,6 +4032,7 @@ check_builtin sync_val_compare_and_swap "" "int *ptr; int oldval, newval; __sync
check_builtin machine_rw_barrier mbarrier.h "__machine_rw_barrier()"
check_builtin atomic_cas_ptr atomic.h "void **ptr; void *oldval, *newval; atomic_cas_ptr(ptr, oldval, newval)"
check_builtin MemoryBarrier windows.h "MemoryBarrier()"
+check_builtin sarestart signal.h "SA_RESTART"
check_func sysconf
check_func sysctl
check_func usleep
More information about the ffmpeg-devel
mailing list