[PATCH] Use AC_PROG_PATHS for Python

Ray Donnelly mingw.android at gmail.com
Fri Nov 22 16:06:14 PST 2013


I've since updated this patch a small bit so that python2 is looked
for before python26 before python to prevent failure when python3 is
python.

A tiny bit of other adjustment crept into configure, but it's just a
whitespace difference that likely should've been included when a
previous change was made to autoconf/configure.ac

Many thanks,

Ray Donnelly.

On Sat, Nov 16, 2013 at 3:35 AM, Ray Donnelly <mingw.android at gmail.com> wrote:
> I'm working on building clang/llvm in MSYS2 where, in it's latest
> incarnation python2.exe exists in /usr/bin but python.exe doesn't. The
> configury incorrectly uses AC_PROG_PATH instead of AC_PROG_PATHS when
> searching for a Python executable in the list [python python2
> python26] and so doesn't find python2.
>
> This patch fixes this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-AC_PROG_PATHS-for-Python.patch
Type: text/x-patch
Size: 3329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131123/5ad38264/attachment.bin>


More information about the llvm-commits mailing list