build: add --with-python option
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 30 Jan 2013 04:07:37 +0000 (04:07 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 30 Jan 2013 04:07:37 +0000 (04:07 +0000)
commit26127bd746144842e245e7ecaa734a0219c34dbc
treecff007e79e0b948bad4ac1d877cfb92434b560b6
parentafed1ddb406afe00cb05360c5b8a01e42db3250d
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>
llvm-svn: 173890
llvm/Makefile.config.in
llvm/Makefile.rules
llvm/autoconf/configure.ac
llvm/projects/sample/Makefile.llvm.rules
llvm/test/Makefile