Date: Sun, 7 Jun 2015 12:53:16 -0430 From: Alberto Mijares <amijaresp@gmail.com> To: Tom Pusateri <pusateri@bangj.com> Cc: ports@freebsd.org Subject: Re: Question and requirement Message-ID: <CAGZBXN_foaxcw_Cv=MvskN0rnOhYgp9yAixfnxbgTOrkexG1VA@mail.gmail.com> In-Reply-To: <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com> References: <CAGZBXN8hwOgCdi3brXiWK4P=Atjm7MTxNfJOH2Rgbd_QrFL9dg@mail.gmail.com> <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 7, 2015 at 12:29 PM, Tom Pusateri <pusateri@bangj.com> wrote: > > > I used the configure m4 macros for Lua linked below and it is able to fin= d 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=3D"" > LUA_LIBS=3D"" > AX_PROG_LUA([],[], > [AX_LUA_HEADERS > AX_LUA_LIBS > if test x"$LUA_LIB" =3D x; then > AC_MSG_ERROR([Lua library not found.]) > fi],[AC_MSG_WARN([Lua interpreter not found.])]) > > CPPFLAGS=3D"$CPPFLAGS $LUA_INCLUDE" > LIBS=3D"$LIBS $LUA_LIB=E2=80=9D > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGZBXN_foaxcw_Cv=MvskN0rnOhYgp9yAixfnxbgTOrkexG1VA>