fix script generate auto header bug, always create file
This commit is contained in:
parent
8239174e97
commit
6bc18f2e44
|
|
@ -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
1
trunk/configure
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user