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

refine options, add --with-stat. 0.9.199

This commit is contained in:
winlin 2014-08-17 22:11:43 +08:00
parent 3111870316
commit 6103b1c3ce
4 changed files with 39 additions and 19 deletions

View file

@ -678,6 +678,13 @@ else
echo "#undef SRS_AUTO_INGEST" >> $SRS_AUTO_HEADERS_H
fi
# for statistic.
if [ $SRS_STAT = YES ]; then
echo "#define SRS_AUTO_STAT" >> $SRS_AUTO_HEADERS_H
else
echo "#undef SRS_AUTO_STAT" >> $SRS_AUTO_HEADERS_H
fi
#####################################################################################
# build research code, librtmp
#####################################################################################
@ -808,17 +815,6 @@ echo "#define SRS_AUTO_PREFIX \"${SRS_PREFIX}\"" >> $SRS_AUTO_HEADERS_H
echo "" >> $SRS_AUTO_HEADERS_H
# os specified
echo "" >> $SRS_AUTO_HEADERS_H
if [ $SRS_OSX = YES ]; then
echo "#define SRS_AUTO_OSX" >> $SRS_AUTO_HEADERS_H
else
echo "#undef SRS_AUTO_OSX" >> $SRS_AUTO_HEADERS_H
fi
echo "" >> $SRS_AUTO_HEADERS_H
#####################################################################################
# generated the contributors from AUTHORS.txt
#####################################################################################