mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the configure, add comments
This commit is contained in:
parent
25cb3054d5
commit
cd7e6cc321
2 changed files with 30 additions and 21 deletions
|
@ -1,5 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
function require_sudoer()
|
||||
{
|
||||
sudo echo "" >/dev/null 2>&1
|
||||
|
||||
ret=$?; if [[ 0 -ne $ret ]]; then
|
||||
echo "\"$1\" require sudoer failed. ret=$ret";
|
||||
exit $ret;
|
||||
fi
|
||||
}
|
||||
|
||||
# TODO: check gcc/g++
|
||||
echo "check gcc/g++/gdb/make/openssl-devel"
|
||||
echo "depends tools are ok"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue