configure: abort early on --help

This commit is contained in:
Brian Anderson 2011-11-02 16:25:22 -07:00
parent 098cf43761
commit 4151a3a67f

6
configure vendored
View File

@ -254,6 +254,12 @@ valopt prefix "/usr/local" "set installation prefix"
valopt llvm-root "" "set llvm root"
valopt target-triples "" "LLVM target triples (defaults to host if unset)"
if [ $HELP -eq 1 ]
then
echo ""
exit 0
fi
step_msg "writing out basic parameters"
putvar CFG_SRC_DIR
putvar CFG_BUILD_DIR