[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with AX_PATH_PROG

From: Reuben Thomas
Subject: Problem with AX_PATH_PROG
Date: Sat, 26 Feb 2011 18:42:54 +0000


I just wanted to use AX_PATH_PROG instead of AC_PATH_PROG to simplify
the macros in ax_lua.m4, but I can't.

The reason is that Lua is often installed in multiple versions. Hence,
the Lua macros provide a --with-lua-suffix option to specify the name
of the binary. Hence, I want to call:

AX_PATH_PROG(LUA, lua$with_lua_suffix)

but this doesn't work, because AX_PATH_PROG tries to use
"lua$with_lua_suffix" in the name of the option --with-EXECUTABLE, and
it all falls down.

Perhaps an optional 5th argument, "executable"? (5th is not the ideal
position, but of course I don't want to break the current API.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]