Date: Sun, 7 Jun 2015 12:59:31 -0400 From: Tom Pusateri <pusateri@bangj.com> To: Alberto Mijares <amijaresp@gmail.com> Cc: ports@freebsd.org Subject: Re: Question and requirement Message-ID: <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com> In-Reply-To: <CAGZBXN8hwOgCdi3brXiWK4P=Atjm7MTxNfJOH2Rgbd_QrFL9dg@mail.gmail.com> References: <CAGZBXN8hwOgCdi3brXiWK4P=Atjm7MTxNfJOH2Rgbd_QrFL9dg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 6, 2015, at 11:26 PM, Alberto Mijares <amijaresp@gmail.com> = wrote: >=20 > 3) When installing lua5.2, the pkg-config files refer to it as > "lua-5.2" instead of "lua5.2". Is there any specific reason for that? > configure script looks for lua5.2 and it fails. I thing everything > around is going to look for that name. Unless there's any reason to > keep it as it is, can you help me to change the name in *.pc files? >=20 > Alberto Mijares 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=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 --Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJVdHhzAAoJEPk0GMVmUuYMPFgH+wQJky/XFvY9D2tkwP/2GYzG zL7SxIkm9Ue11CENmRNkG6ElF7E4vs9rn1l1AWqNc35Nm2cGZzUzsF55PJWSQ4Rf r2erO1c8JCKjtJHBzKALGFJvjC6a628tTm0jA2HZxEuKh0dIqTZHCKZftqKiZ08V GOjLLioVJk7+LS/j3jsuK6IGYPIQripjBf4aTBQhIMfrP/aCNK6xlAZEHgMRZjEw X/uYNFwCYQ2FeNmeGPBKS3+3KcYFftKYfSRWZGMqXskcEoIjW2UnaokRdHvHZ2a6 ptrCbRN/tB70ell7o1pBM4DGIX1aHwEJw4nCJU17UkIcFh49ZbFAnCfyuQs1aDA= =Pe4h -----END PGP SIGNATURE----- --Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13E9820C-7D4A-4BFD-B33C-83B9E0481E7E>