Question and requirement

Alberto Mijares amijaresp at gmail.com
Sun Jun 7 17:23:17 UTC 2015


On Sun, Jun 7, 2015 at 12:29 PM, Tom Pusateri <pusateri at bangj.com> wrote:
>
>
> I used the configure m4 macros for Lua linked below and it is able to find all variations of lua.
>
> http://www.gnu.org/software/autoconf-archive/ax_lua.html
>
> I put the ax_lua.m4 file in my m4 directory and then added the following lines to my configure.ac
>
> AC_CONFIG_MACRO_DIR([m4])
>
>
> LUA_INCLUDE=""
> LUA_LIBS=""
> AX_PROG_LUA([],[],
>                   [AX_LUA_HEADERS
>                    AX_LUA_LIBS
>                    if test x"$LUA_LIB" = x; then
>                        AC_MSG_ERROR([Lua library not found.])
>                    fi],[AC_MSG_WARN([Lua interpreter not found.])])
>
> CPPFLAGS="$CPPFLAGS $LUA_INCLUDE"
> LIBS="$LIBS $LUA_LIB”
>
> Hope this helps,
> Tom
>

Thank you. I alredy made the suggestion to the developers. I hope they
take it. Otherwise, I'll write a patch for configure script to be
included in the port.

Regards,


Alberto Mijares


More information about the freebsd-ports mailing list