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:
parent
3111870316
commit
6103b1c3ce
4 changed files with 39 additions and 19 deletions
|
@ -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
|
||||
#####################################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue