On Jul 16, 2015, at 6:01 PM, Burton, Ross 
<ross.bur...@intel.com<mailto:ross.bur...@intel.com>> wrote:


On 16 July 2015 at 17:51, Martin Jansa 
<martin.ja...@gmail.com<mailto:martin.ja...@gmail.com>> wrote:
Yes, but if-found (by pkg-config) then the macro itself sets GLU_LIBS
and GLU_CFLAGS, so it doesn't make sense to call AC_CHECK_LIB to change
GLU_LIBS value.

action-if-not-found on the other hand is for cases where your GLU
implementation doesn't provide pkg-config and you want to try to find it
with AC_CHECK_LIB.

I believe you that there could be an issue with building glu demos, but
I guess it's issue in your GLU implementation (whatever that is) and
this change is not correct fix for it - it just happen to help in your
case and breaks other cases.

I agree with Martin here.  Can you replicate the problem using a qemu machine 
and just oe-core?

Ross


I took a deeper look at this today and what I think needs to happen is that in 
the “if-found” block we need to set glu_enabled=yes.  That way the HAVE_GLU 
AM_CONDITIONAL is set to yes later in the configure process.  Does that seem 
right?  I’ll test a patch against my platform.

I have not figured out how to enable GLUT on the QEMU platform so I cannot yet 
test it there.

Drew
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to