Confusion with Jam, confiigure.ac and configure.ac files

Mohit Taneja <[email protected]> Mon, 24 Jun 2013 01:06:00 -0400
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAKU=POR4Zx+i6T8+zO6vJ01DEFz0TGRzj1weVJF2FEtP=Wge3Q@mail.gmail.com>
Hi,

I am trying to get EGL plugin compile on a Ubuntu system. I am having
trouble understanding how the Jamfile work.

So, just the way we check for glx.available in the jamfile for compiling
glx plugin, in the same way I want to do it for egl, Now, what I understood
with little searching around is that somehow configure file defines those
variables used by jamfile, and the configure file is generated by
configure.ac.

So, the only code in configure.ac for checking if glx is available is :

CS_CHECK_GLX
# Check for GLX extensions.  Define CSGL_EXT_STATIC_ASSERTION if _not_
present.
CS_CHECK_GLXEXT([], [CS_HEADER_PROPERTY([CSGL_EXT_STATIC_ASSERTION])])

Now, I am confused about where is CS_CHECK_GLX defined or who interprets
that what does it mean, and how can I do the same for EGL. Any help is
welcomed.

Regards
Mohit

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Crystal-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-develop