mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug of configure.
This commit is contained in:
parent
eb488e3bde
commit
fec8422d6b
16 changed files with 70 additions and 67 deletions
|
@ -76,10 +76,10 @@ fi
|
|||
echo "" >> $SRS_AUTO_HEADERS_H
|
||||
|
||||
# auto headers in depends.
|
||||
if [ $SRS_HTTP_PARSER = YES ]; then
|
||||
echo "#define SRS_AUTO_HTTP_PARSER" >> $SRS_AUTO_HEADERS_H
|
||||
if [ $SRS_HTTP_CORE = YES ]; then
|
||||
echo "#define SRS_AUTO_HTTP_CORE" >> $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
echo "#undef SRS_AUTO_HTTP_PARSER" >> $SRS_AUTO_HEADERS_H
|
||||
echo "#undef SRS_AUTO_HTTP_CORE" >> $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
if [ $SRS_HTTP_SERVER = YES ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue