Skip to content

Commit 4151a3a

Browse files
committed
configure: abort early on --help
1 parent 098cf43 commit 4151a3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configure

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,12 @@ valopt prefix "/usr/local" "set installation prefix"
254254
valopt llvm-root "" "set llvm root"
255255
valopt target-triples "" "LLVM target triples (defaults to host if unset)"
256256

257+
if [ $HELP -eq 1 ]
258+
then
259+
echo ""
260+
exit 0
261+
fi
262+
257263
step_msg "writing out basic parameters"
258264
putvar CFG_SRC_DIR
259265
putvar CFG_BUILD_DIR

0 commit comments

Comments
 (0)