1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add configure preset, add test for configure

This commit is contained in:
winlin 2014-04-16 14:14:48 +08:00
parent 47927ab460
commit 406a30e533
3 changed files with 374 additions and 247 deletions

View file

@ -536,10 +536,7 @@ fi
# whatever the FFMPEG tools, if transcode and ingest specified,
# srs always compile the FFMPEG tool stub which used to start the FFMPEG process.
__SRS_FFMPEG_STUB=NO
if [ $SRS_TRANSCODE = YES ]; then __SRS_FFMPEG_STUB=YES; fi
if [ $SRS_INGEST = YES ]; then __SRS_FFMPEG_STUB=YES; fi
if [ $__SRS_FFMPEG_STUB = YES ]; then
if [ $SRS_FFMPEG_STUB = YES ]; then
echo "#define SRS_AUTO_FFMPEG" >> $SRS_AUTO_HEADERS_H
else
echo "#undef SRS_AUTO_FFMPEG" >> $SRS_AUTO_HEADERS_H