1
0
Fork 0
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:
winlin 2014-02-28 13:17:31 +08:00
parent 25cb3054d5
commit cd7e6cc321
2 changed files with 30 additions and 21 deletions

View file

@ -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"