1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-14 20:31:56 +00:00

fix script generate auto header bug, always create file

This commit is contained in:
winlin 2014-03-20 14:23:36 +08:00
parent 8239174e97
commit 6bc18f2e44
2 changed files with 1 additions and 1 deletions

View file

@ -1,7 +1,6 @@
#!/bin/bash
# variables, parent script must set it:
# SRS_AUTO_HEADERS_H: the auto generated header file.
#####################################################################################
#####################################################################################

1
trunk/configure vendored
View file

@ -30,6 +30,7 @@ if [[ -f Makefile ]]; then
fi
# write user options to headers
echo "// auto generated by configure" > $SRS_AUTO_HEADERS_H
echo "#ifndef SRS_AUTO_HEADER_HPP" >> $SRS_AUTO_HEADERS_H
echo "#define SRS_AUTO_HEADER_HPP" >> $SRS_AUTO_HEADERS_H
echo "" >> $SRS_AUTO_HEADERS_H