[Lcdproc] Problem in configure (acinclude) with libg15render detection

Anthony J. Mirabella mirabeaj@gmail.com
Tue Oct 3 00:08:02 2006


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigD11439BCCAB9815A776D4A4B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I've fixed this in libg15render svn.  Would you like me to make a bugfix
release, I don't think a new feature release will be coming soon as I'm
working on Mac OS X support for libg15 and g15daemon (which will also
hopefully make it mostly trivial to then support the BSDs).

Robert Buchholz wrote:
> Hey guys,
>=20
> as the title says, I didn't get ./configure to detect the installed
> libg15render (it found the header and all, but the linking failed with
> the g15r_initCanvas function).
> The problem seems to be that libg15render needs also to be linked with
> the math library for the ceilf() function.
>=20
> The attached patch fixed this for me, but please someone tell me if thi=
s
> is "the right way" to do it :-)
>=20
> Thanks a lot,
>=20
> Robert
>=20
>=20
> -----------------------------------------------------------------------=
-
>=20
> --- acinclude.m4.orig	2006-10-03 00:35:04.000000000 +0200
> +++ acinclude.m4	2006-10-03 00:35:42.000000000 +0200
> @@ -143,6 +143,7 @@
>  				AC_MSG_WARN([The g15 driver needs g15daemon_client.h])
>  			])
>  			AC_CHECK_HEADERS([libg15render.h],[
> +				AC_CHECK_LIB(m, pow)
>  				AC_CHECK_LIB(g15render, g15r_initCanvas,[
>  					LIBG15=3D"$LIBG15 -lg15render"
>  					DRIVERS=3D"$DRIVERS g15${SO}"



--------------enigD11439BCCAB9815A776D4A4B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFIanGSdAxC41Y09ERAu1cAJ987DfwRvo+dYg0KeT44GmAy4Q6vACeOk13
DGm5ZAXYi78j62n+ubdz1NY=
=5ySu
-----END PGP SIGNATURE-----

--------------enigD11439BCCAB9815A776D4A4B--