OSDN Git Service

configure: Only build ffserver if SA_RESAMPLE is available.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 13 Jul 2013 12:15:07 +0000 (14:15 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sat, 13 Jul 2013 15:16:30 +0000 (17:16 +0200)
QNX does not define SA_RESAMPLE (because it is not implemented).
Fixes ticket #2780.

Reviewed-by: Nicolas George
configure

index e6a6f57..7dfeec1 100755 (executable)
--- 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