This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] Add configure check for python program


On Thu, 2016-12-22 at 08:07 +0530, Siddhesh Poyarekar wrote:
> Add a configure check that looks for python3 and python in that order
> since we had agreed in the past to prefer python3 over python in all
> our code.  The patch also adjusts invocations through the various
> Makefiles to use the set variable.
> 
> Changes:
> 
>  - Added tests-printers to tests-unsupported instead of removing
> them.
> 
> 	* configure.ac: Check for python3 or python.
> 	* configure: Regenerated.
> 	* config.make.in (PYTHON): New variable.
> 	* benchtests/Makefile: Don't define PYTHON.
> 	(bench): Define target only if PYTHON was defined.
> 	* Rules: Don't define PYTHON.
> 	Define pretty printer targets only if PYTHON was defined.
> 	(tests-printers): Add to tests-unsupported if PYTHON is not
> 	found.
> 	(python-flags, python-invoke): Remove.
> 	(tests-printers-out): Use PYTHON instead of python-invoke.

Yes, I like this version better.  It worked fine on my machine.

Steve Ellcey
sellcey@caviumnetworks.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]