build: Allow to build cogl without an external glib dependency

This commit pushes --disable-glib to the extreme of embedding the par of
glib cogl depends on in tree to be able to generate a DSO that does not
depend on an external glib.

To do so, it:
  - keeps a lot of glib's configure.ac in as-glibconfig.m4
  - pulls the code cogl depends on and the necessary dependencies

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Damien Lespiau
2012-09-17 02:20:10 +01:00
committed by Robert Bragg
parent df21e20f65
commit d2c41502a4
85 changed files with 40555 additions and 63 deletions

View File

@ -1,7 +1,8 @@
include $(top_srcdir)/build/autotools/Makefile.am.silent
INCLUDES = \
-I$(top_srcdir)
-I$(top_srcdir) \
-I$(top_builddir)/deps/glib
AM_CFLAGS = \
$(COGL_DEP_CFLAGS) \
@ -16,6 +17,7 @@ endif
common_ldadd = \
$(COGL_DEP_LIBS) \
$(top_builddir)/deps/glib/libglib.la \
$(top_builddir)/cogl/libcogl.la
programs = cogl-info