winlin

fix script generate auto header bug, always create file

#!/bin/bash
# variables, parent script must set it:
# SRS_AUTO_HEADERS_H: the auto generated header 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
... ...