summaryrefslogtreecommitdiff
path: root/Makefile.config.in
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2013-01-30 04:07:37 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2013-01-30 04:07:37 +0000
commit3ef8b0adb4c64b5a8611472850b4991afaf289f1 (patch)
tree634bc355bce2a86bdee4d10de7008be066dae308 /Makefile.config.in
parentd7800dfba255305941d81a6b8b30cb37ef50f5ef (diff)
downloadllvm-3ef8b0adb4c64b5a8611472850b4991afaf289f1.tar.gz
llvm-3ef8b0adb4c64b5a8611472850b4991afaf289f1.tar.bz2
llvm-3ef8b0adb4c64b5a8611472850b4991afaf289f1.tar.xz
build: add --with-python option
This adds a new --with-python option to allow configuration of the python binary for building. If not specified, $PATH will be searched for common python binary names (python, python2, python3). If specified, and the path is not executable, it will attempt to search $PATH. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Eric Christopher <echristo@gmail.com>, Daniel Dunbar <daniel@zuster.org> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.config.in')
-rw-r--r--Makefile.config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index 10a524fb46..599ffb0006 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -179,6 +179,7 @@ RANLIB := @RANLIB@
RM := @RM@
SED := @SED@
TAR := @TAR@
+PYTHON := @PYTHON@
# Paths to miscellaneous programs we hope are present but might not be
BZIP2 := @BZIP2@