11
11
# - increase clutter_micro_version to the next odd number
12
12
# - increase clutter_interface_version to the next odd number
13
13
m4_define([clutter_major_version], [1])
14
m4_define([clutter_minor_version], [0])
15
m4_define([clutter_micro_version], [8])
14
m4_define([clutter_minor_version], [2])
15
m4_define([clutter_micro_version], [2])
17
m4_define([clutter_release_status],
18
[m4_if(m4_eval(clutter_micro_version % 2), [1], [git],
19
[m4_if(m4_eval(clutter_minor_version % 2), [1], [snapshot],
17
22
m4_define([clutter_version], [clutter_major_version.clutter_minor_version.clutter_micro_version])
24
# change this only when breaking the API
19
25
m4_define([clutter_api_version], [1.0])
21
27
# increase the interface age by 1 for each release; if the API changes,
27
33
# this allows using the same soname for different micro-releases in case
28
34
# no API was added or deprecated. for instance:
30
# clutter 1.2.0 -> 100 * 2 + 0 = 200, interface age = 0 -> 200
31
# clutter 1.2.2 -> 100 * 2 + 2 = 202, interface age = 2 -> 200
32
# clutter 1.2.4 -> 100 * 2 + 4 = 204, interface age = 4 -> 200
36
# clutter 1.2.0 -> 100 * 2 + 0 = 200, interface age = 0 -> 200
37
# clutter 1.2.2 -> 100 * 2 + 2 = 202, interface age = 2 -> 200
38
# clutter 1.2.4 -> 100 * 2 + 4 = 204, interface age = 4 -> 200
33
39
# [ API addition, deprecation ]
34
# clutter 1.2.6 -> 100 * 2 + 6 = 206, interface age = 0 -> 206
40
# clutter 1.2.6 -> 100 * 2 + 6 = 206, interface age = 0 -> 206
41
# clutter 1.2.8 -> 100 * 2 + 8 = 208, interface age = 2 -> 206
42
# clutter 1.2.10 -> 100 * 2 + 10 = 210, interface age = 4 -> 206
37
m4_define([clutter_interface_age], [0])
45
m4_define([clutter_interface_age], [2])
38
46
m4_define([clutter_binary_age], [m4_eval(100 * clutter_minor_version + clutter_micro_version)])
54
64
CLUTTER_VERSION=clutter_version
55
65
CLUTTER_API_VERSION=clutter_api_version
56
66
CLUTTER_MAJORMINOR=clutter_major_version.clutter_minor_version
67
CLUTTER_RELEASE_STATUS=clutter_release_status
57
68
AC_SUBST(CLUTTER_MAJOR_VERSION)
58
69
AC_SUBST(CLUTTER_MINOR_VERSION)
59
70
AC_SUBST(CLUTTER_MICRO_VERSION)
60
71
AC_SUBST(CLUTTER_VERSION)
61
72
AC_SUBST(CLUTTER_API_VERSION)
62
73
AC_SUBST(CLUTTER_MAJORMINOR)
74
AC_SUBST(CLUTTER_RELEASE_STATUS)
64
76
m4_define([lt_current], [m4_eval(100 * clutter_minor_version + clutter_micro_version - clutter_interface_age)])
65
77
m4_define([lt_revision], [clutter_interface_age])
221
229
dnl === Clutter windowing system backend ======================================
223
AS_CASE([$clutterbackend],
227
experimental_backend="yes"
228
clutter_gl_header="GL/gl.h"
229
CLUTTER_FLAVOUR="sdl"
230
CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_SDL"
231
AC_DEFINE([HAVE_CLUTTER_SDL], [1], [Have the SDL backend])
234
AC_DEFINE([HAVE_COGL_GL], [1], [Have GL for rendering])
236
AC_PATH_PROG(SDL_CONFIG, [sdl-config])
237
AS_IF([test "x$SDL_CONFIG" = "x"],
238
[AC_MSG_ERROR([No sdl-config binary found in path])],
240
SDL_CFLAGS=`$SDL_CONFIG --cflags`
241
SDL_LIBS=`$SDL_CONFIG --libs`
247
# Use -lopengl32 under Windows instead of -lGL
248
SDL_LIBS="$SDL_LIBS -lopengl32"
249
CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
253
AC_CHECK_LIB(GL, [glEnable], [HAVE_LIBGL=yes], [HAVE_LIBGL=no])
254
AS_IF([test "x$HAVE_LIBGL" = "xno"], [AC_MSG_ERROR([libGL not found])])
255
SDL_LIBS="$SDL_LIBS -lGL"
231
AS_CASE([$CLUTTER_WINSYS],
264
235
clutter_gl_header="GL/gl.h"
265
CLUTTER_FLAVOUR="glx"
266
236
CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_GLX"
267
237
AC_DEFINE([HAVE_CLUTTER_GLX], [1], [Have the GLX backend])
270
240
AC_DEFINE([HAVE_COGL_GL], [1], [Have GL for rendering])
272
242
AC_CHECK_HEADERS([GL/glx.h],
292
262
# the GL header is defined in the COGL checks above
293
CLUTTER_FLAVOUR="eglx"
294
263
CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_EGL"
295
264
AC_DEFINE([HAVE_CLUTTER_EGL], [1], [Have the EGL backend])
297
266
EGL_LIBS="$GLES_LIBS $X11_LIBS"
298
267
EGL_CFLAGS="$GLES_CFLAGS $X11_CFLAGS"
301
backendextralib="x11/libclutter-x11.la"
269
CLUTTER_WINSYS_BASE=x11
270
CLUTTER_WINSYS_BASE_LIB="x11/libclutter-x11.la"
303
272
# Mesa 7.3 added a GL pkg-config file, finally
304
273
PKG_CHECK_EXISTS([gl], [BACKEND_PC_FILES="$BACKEND_PC_FILES gl"], [])
351
317
clutter_gl_header="GL/gl.h"
352
CLUTTER_FLAVOUR="win32"
353
318
CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_WIN32"
354
319
AC_DEFINE([HAVE_CLUTTER_WIN32], [1], [Have the Win32 backend])
357
322
AC_DEFINE([HAVE_COGL_GL], [1], [Have GL for rendering])
359
324
WIN32_CFLAGS="-D_WIN32_WINNT=0x0500"
360
325
WIN32_LIBS="-lopengl32 -lgdi32 -lwinmm"
361
326
CLUTTER_LT_LDFLAGS="$CLUTTER_LT_LDFLAGS -no-undefined"
328
AC_CHECK_TOOL(WINDRES, windres, no)
329
if test "$WINDRES" = no; then
330
AC_MSG_ERROR([*** windres is required])
364
[AC_MSG_ERROR([Invalid backend for Clutter: use glx, sdl, osx, win32, eglx, eglnative or fruity])]
334
[AC_MSG_ERROR([Invalid backend for Clutter: use glx, osx, win32, eglx, eglnative or fruity])]
337
AM_CONDITIONAL(WINSYS_WIN32, [test "x$CLUTTER_WINSYS" = "xwin32"])
367
339
# at this point we must have a GL header to check
368
340
AS_IF([test "x$clutter_gl_header" = "x"], [AC_MSG_ERROR([Internal error: no GL header set])])
369
341
AC_CHECK_HEADERS([$clutter_gl_header],
373
345
CLUTTER_GL_HEADER=$clutter_gl_header
375
AC_SUBST([clutterbackend])
376
AC_SUBST([imagebackend])
377
AC_SUBST([backendextra])
378
AC_SUBST([backendextralib])
379
AC_SUBST(CLUTTER_FLAVOUR)
380
AC_SUBST(CLUTTER_COGL)
348
dnl === Clutter substitutions =================================================
349
# Eventually the idea of a winsys should be hidden from Clutter and moved
350
# into Cogl, but for now we have CLUTTER_WINSYS...
351
AC_SUBST([CLUTTER_WINSYS])
352
# The same goes for the winsys-base...
353
AC_SUBST([CLUTTER_WINSYS_BASE])
354
AC_SUBST([CLUTTER_WINSYS_BASE_LIB])
381
355
AC_SUBST(CLUTTER_GL_HEADER)
382
356
AC_SUBST(CLUTTER_STAGE_TYPE)
384
clutterbackendlib=libclutter-$clutterbackend-$CLUTTER_API_VERSION.la
385
AC_SUBST([clutterbackendlib])
358
CLUTTER_WINSYS_LIB=libclutter-$CLUTTER_WINSYS-$CLUTTER_API_VERSION.la
359
AC_SUBST([CLUTTER_WINSYS_LIB])
361
dnl === Clutter substitutions kept for backwards compatibility ================
362
CLUTTER_FLAVOUR=$CLUTTER_WINSYS
363
AC_SUBST([CLUTTER_FLAVOUR])
364
CLUTTER_COGL=$COGL_DRIVER
365
AC_SUBST([CLUTTER_COGL])
367
dnl === Cogl substitutions ====================================================
368
AC_SUBST([COGL_IMAGE_BACKEND])
369
COGL_WINSYS=$CLUTTER_WINSYS
370
AC_SUBST([COGL_WINSYS])
371
AC_SUBST([COGL_DRIVER])
387
373
dnl === Image loading backend =================================================
388
374
IMAGE_PC_FILES=""
390
# Peek which flavour the user wants so that we can couple the osx flavour with
376
# Peek which winsys the user wants so that we can couple the osx winsys with
391
377
# quartz imageloader.
392
AS_IF([test "x$with_flavour" = "xosx"], [imagebackend=quartz], [imagebackend=gdk-pixbuf])
378
AS_IF([test "x$COGL_WINSYS" = "xosx"], [COGL_IMAGE_BACKEND=quartz], [COGL_IMAGE_BACKEND=gdk-pixbuf])
394
380
AC_ARG_WITH([imagebackend],
395
381
[AC_HELP_STRING([--with-imagebackend=@<:@gdk-pixbuf/quartz/internal@:>@],
396
382
[Select COGL image loading backend])],
397
[imagebackend=$with_imagebackend])
383
[COGL_IMAGE_BACKEND=$with_imagebackend])
399
AS_CASE([$imagebackend],
385
AS_CASE([$COGL_IMAGE_BACKEND],
551
542
dnl === JSON parser check =====================================================
553
# allow building clutter with an external dependency on json-glib
554
# using the --with-json=check argument, but keep the default to
555
# the internal version
544
# we allow building clutter with the internal copy of json-glib
545
# for platforms without it, but by default we depend on the
547
m4_define([default_json], [check])
556
548
AC_ARG_WITH([json],
557
AC_HELP_STRING([--with-json=@<:@internal/check@:>@],
558
[Select the JSON-GLib copy to use @<:@default=internal@:>@]),
549
AC_HELP_STRING([--with-json=@<:@internal/check/system@:>@],
550
[Select the JSON-GLib copy to use @<:@default=default_json@:>@]),
560
[with_json=internal])
552
[with_json=default_json])
562
554
AS_CASE([$with_json],
564
AC_MSG_CHECKING([for installed JSON-GLib])
565
PKG_CHECK_EXISTS([json-glib-1.0 >= 0.8],
568
AS_IF([test "x$have_json" = "xyes"],
570
JSON_PREFIX=json-glib
571
JSON_GLIB_PC="json-glib-1.0 >= 0.8"
573
AC_DEFINE([HAVE_JSON_GLIB],
575
[Have the JSON-GLib library installed])
577
AC_MSG_RESULT([found])
579
[AC_MSG_ERROR([not found])]
572
585
AC_MSG_CHECKING([for installed JSON-GLib])
573
PKG_CHECK_EXISTS([json-glib-1.0], [have_json=yes], [have_json=no])
586
PKG_CHECK_EXISTS([json-glib-1.0 >= 0.8],
574
589
AS_IF([test "x$have_json" = "xyes"],
576
591
JSON_PREFIX=json-glib
577
JSON_GLIB_PC=json-glib-1.0
592
JSON_GLIB_PC="json-glib-1.0 >= 0.8"
579
AC_DEFINE(HAVE_JSON_GLIB, 1, [Have the JSON-GLib library installed])
594
AC_DEFINE([HAVE_JSON_GLIB],
596
[Have the JSON-GLib library installed])
581
598
AC_MSG_RESULT([found])
593
610
AC_SUBST(JSON_PREFIX)
594
611
AM_CONDITIONAL(LOCAL_JSON_GLIB, test "x$have_json" = "xno")
596
dnl === Dependencies, compiler flags and linker libraries =====================
597
CLUTTER_REQUIRES="cairo >= 1.4 pangocairo >= 1.20 gobject-2.0 >= 2.16 gthread-2.0 gmodule-no-export-2.0 $IMAGE_PC_FILES $BACKEND_PC_FILES $JSON_GLIB_PC"
599
PKG_CHECK_MODULES(CLUTTER_DEPS, [$CLUTTER_REQUIRES])
601
AC_SUBST(CLUTTER_REQUIRES)
603
CLUTTER_CFLAGS="$SDL_CFLAGS $EGL_CFLAGS $GLX_CFLAGS $OSX_CFLAGS $WIN32_CFLAGS $CLUTTER_DEPS_CFLAGS"
604
CLUTTER_LIBS="$SDL_LIBS $EGL_LIBS $X11_LIBS $GLX_LIBS $OSX_LIBS $WIN32_LIBS $CLUTTER_DEPS_LIBS"
606
AC_SUBST(CLUTTER_CFLAGS)
607
AC_SUBST(CLUTTER_LIBS)
609
613
dnl === Enable debug level ====================================================
611
615
m4_define([debug_default], [m4_if(m4_eval(clutter_minor_version % 2), [1], [yes], [minimum])])
658
662
AC_SUBST(COGL_DEBUG_CFLAGS)
664
dnl === Conformance test suite ================================================
666
AC_ARG_ENABLE([conformance],
667
[AC_HELP_STRING([--enable-conformance=@<:@no/yes@:>@],
668
[Build conformance test suite @<:@default=yes@:>@])],
670
[enable_conformance=yes])
672
AM_CONDITIONAL([BUILD_TESTS], [test "x$enable_conformance" = "xyes"])
674
dnl === Profiling =============================================================
676
m4_define([profile_default], [no])
677
AC_ARG_ENABLE(profile,
678
AC_HELP_STRING([--enable-profile=@<:@no/yes@:>@],
679
[Turn on profiling support. yes; All profiling probe points are compiled in and may be runtime enabled. no; No profiling support will built into clutter. @<:@default=no@:>@]),
681
[enable_profile=profile_default])
683
AS_CASE([$enable_profile],
687
AS_IF([test "x$GCC" = "xyes"],
689
PKG_CHECK_MODULES([PROFILE_DEP], [uprof-0.2])
690
CLUTTER_PROFILE_CFLAGS=" -DCLUTTER_ENABLE_PROFILE -DCOGL_ENABLE_PROFILE $PROFILE_DEP_CFLAGS"
691
CLUTTER_PROFILE_LDFLAGS=" $PROFILE_DEP_LIBS"
693
AS_IF([test "x$enable_debug" = "xyes"], [CLUTTER_PROFILE_CFLAGS+=" -DUPROF_DEBUG"])
696
AC_MSG_ERROR([--enable-profile is currently only supported if using GCC])
702
CLUTTER_PROFILE_CFLAGS=""
703
CLUTTER_PROFILE_LDFLAGS=""
706
[*], [AC_MSG_ERROR([Invalid value for --enable-profile])]
708
AM_CONDITIONAL(PROFILE, test "x$enable_profile" != "xno")
709
AC_SUBST(CLUTTER_PROFILE_CFLAGS)
710
AC_SUBST(CLUTTER_PROFILE_LDFLAGS)
712
dnl === Coverage report =======================================================
714
AC_PATH_PROG([GCOV], [gcov], [enable_gcov=no])
716
AC_MSG_CHECKING([whether to build with gcov testing])
718
AC_ARG_ENABLE([gcov],
719
[AS_HELP_STRING([--enable-gcov],
720
[Whether to enable coverage testing (requires gcc
725
AS_IF([test "x$enable_gcov" = "xyes" && test "x$GCC" = "xyes"],
727
AS_IF([test "x$enable_conformance" = "xno"],
728
[AC_MSG_WARN([Conformance test suite is disabled, the coverage report will be incomplete])],
729
[AC_MSG_RESULT([yes])]
732
GCOV_CFLAGS="-g -O0 -fprofile-arcs -ftest-coverage"
733
GCOV_LDFLAGS="-lgcov"
735
[AC_MSG_RESULT([no])]
738
AM_CONDITIONAL([GCOV_ENABLED], [test "x$enable_gcov" = "xyes"])
739
AC_SUBST([GCOV_CFLAGS])
740
AC_SUBST([GCOV_LDFLAGS])
660
742
dnl === Enable strict compiler flags ==========================================
662
744
# use strict compiler flags only on development releases
670
752
AS_IF([test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"],
672
754
AS_COMPILER_FLAGS([MAINTAINER_CFLAGS],
673
["-Wall -Wshadow -Wcast-align -Wno-uninitialized
674
-Wno-strict-aliasing -Wempty-body -Wformat-security
755
["-Wall -Wshadow -Wcast-align -Wuninitialized
756
-Wno-strict-aliasing -Wempty-body -Wformat
757
-Wformat-security -Winit-self"])
679
761
AC_SUBST(MAINTAINER_CFLAGS)
763
dnl === Dependencies, compiler flags and linker libraries =====================
764
CLUTTER_REQUIRES="cairo >= 1.4 pangocairo >= 1.20 gobject-2.0 >= 2.16 gthread-2.0 gmodule-no-export-2.0 $IMAGE_PC_FILES $BACKEND_PC_FILES $JSON_GLIB_PC"
766
PKG_CHECK_MODULES(CLUTTER_DEPS, [$CLUTTER_REQUIRES])
768
AC_SUBST(CLUTTER_REQUIRES)
770
CLUTTER_CFLAGS="$SDL_CFLAGS $EGL_CFLAGS $GLX_CFLAGS $OSX_CFLAGS $WIN32_CFLAGS $CLUTTER_DEPS_CFLAGS $CLUTTER_PROFILE_CFLAGS"
771
CLUTTER_LIBS="$SDL_LIBS $EGL_LIBS $X11_LIBS $GLX_LIBS $OSX_LIBS $WIN32_LIBS $CLUTTER_DEPS_LIBS $CLUTTER_PROFILE_LDFLAGS"
773
AC_SUBST(CLUTTER_CFLAGS)
774
AC_SUBST(CLUTTER_LIBS)
681
776
dnl === GObject-Introspection check ===========================================
683
778
GOBJECT_INTROSPECTION_CHECK([0.6.4])
707
802
dnl === Manual ================================================================
709
AC_ARG_ENABLE([manual],
710
[AC_HELP_STRING([--enable-manual=@<:@no/yes@:>@],
711
[Build application developers manual. Requires jw and xmlto.])],
712
[enable_manual=$enableval],
804
AC_ARG_ENABLE([docs],
805
[AC_HELP_STRING([--enable-docs=@<:@no/yes@:>@],
806
[Build optional documentation; requires xsltproc and jw.])],
807
[enable_docs=$enableval],
715
AS_IF([test "x$enable_manual" = "xyes"],
811
AS_IF([test "x$enable_docs" = "xyes"],
717
813
AC_PATH_PROG(JW, [jw], [no])
718
814
AS_IF([test "x$JW" = "xno"],
719
[AC_MSG_ERROR(['jw' program needed by the manual not found in path])]
816
AC_MSG_WARN([jw not found; pdf generation has been disabled])
722
AC_PATH_PROG(XMLTO, [xmlto], [no])
723
AS_IF([test "x$XMLTO" = "xno"],
724
[AC_MSG_ERROR(['xmlto' program needed by the manual not found in path])]
820
AC_PATH_PROG(XSLTPROC, [xsltproc], [no])
821
AS_IF([test "x$XSLTPROC" = "xno"],
823
AC_MSG_ERROR([xsltproc not found])
729
AM_CONDITIONAL(ENABLE_MANUAL, [test "x$enable_manual" = "xyes"])
828
AM_CONDITIONAL(ENABLE_DOCS, [test "x$enable_docs" = "xyes"])
829
AM_CONDITIONAL(ENABLE_PDFS, [test "x$enable_pdfs" = "xyes"])
731
831
dnl === I18N ==================================================================
774
875
clutter/osx/Makefile
775
876
clutter/win32/Makefile
776
877
clutter/win32/clutter-win32.pc
778
878
clutter/cogl/Makefile
779
clutter/cogl/common/Makefile
781
clutter/cogl/cogl-defines-gl.h:clutter/cogl/gl/cogl-defines.h.in
782
clutter/cogl/cogl-defines-gles.h:clutter/cogl/gles/cogl-defines.h.in
784
clutter/cogl/gl/Makefile
785
clutter/cogl/gles/Makefile
879
clutter/cogl/cogl/Makefile
880
clutter/cogl/cogl/driver/gl/cogl-defines.h
881
clutter/cogl/cogl/driver/gles/cogl-defines.h
882
clutter/cogl/cogl/cogl.pc
883
clutter/cogl/cogl/driver/Makefile
884
clutter/cogl/cogl/driver/gl/Makefile
885
clutter/cogl/cogl/driver/gles/Makefile
886
clutter/cogl/pango/Makefile
786
887
clutter/json/Makefile
787
clutter/pango/Makefile
789
889
tests/conform/Makefile
790
890
tests/data/Makefile
808
911
dnl === Summary ===============================================================
811
echo " Clutter $VERSION"
812
echo " ===================="
814
echo " prefix: ${prefix}"
816
echo " Flavour: ${clutterbackend}/${CLUTTER_COGL}"
817
if test "x$clutterbackend" = "xeglx" || test "x$clutterbackend" = "xglx"; then
818
echo " XInput: ${xinput}"
820
echo " GL headers: ${CLUTTER_GL_HEADER}"
821
echo " Image backend: ${imagebackend}"
822
echo " Target library: ${clutterbackendlib}"
823
echo " Clutter debug level: ${enable_debug}"
824
echo " COGL debug level: ${enable_cogl_debug}"
825
echo " Compiler flags: ${CPPFLAGS} ${MAINTAINER_CFLAGS}"
826
echo " Build API documentation: ${enable_gtk_doc}"
827
echo " Build manual documentation: ${enable_manual}"
828
echo " Build introspection data: ${enable_introspection}"
831
# you can add more configuration options or flags that will bring up the
832
# the experimental/unstable warning summary.
834
if test "x$experimental_backend" = "xyes"; then
835
experimental_stuff="$experimental_stuff Clutter backend: ${clutterbackend}\n"
838
if test "x$experimental_image" = "xyes"; then
839
experimental_stuff="$experimental_stuff Image backend: ${imagebackend}\n"
842
if test "x$experimental_stuff" != "x"; then
844
echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
847
echo " The stability of your build might be affected by one or more"
848
echo " experimental backends or experimental and unsupported features:"
850
echo -e "$experimental_stuff"
851
echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
914
echo "Clutter - $VERSION (${CLUTTER_RELEASE_STATUS})"
919
echo " Prefix: ${prefix}"
920
echo " Flavour: ${CLUTTER_WINSYS}/${COGL_DRIVER}"
921
echo " Target library: ${CLUTTER_WINSYS_LIB}"
923
# Compiler/Debug related flags
925
echo " • Compiler options:"
926
echo " Clutter debug level: ${enable_debug}"
927
echo " COGL debug level: ${enable_cogl_debug}"
928
echo " Compiler flags: ${MAINTAINER_CFLAGS}"
929
echo " Profiling enabled: ${enable_profile}"
930
echo " Enable coverage tests: ${enable_gcov}"
934
echo " • Documentation:"
935
echo " Build API Reference: ${enable_gtk_doc}"
936
echo " Build Additional Documentation: ${enable_docs} (Generate PDF: ${enable_pdfs})"
941
echo " Build introspection data: ${enable_introspection}"
942
echo " Build conformance test suite: ${enable_conformance}"
944
if test "x$have_json" = "xyes"; then
945
echo " JSON-GLib: system"
947
echo " JSON-GLib: internal"
952
echo " • COGL Backend:"
953
echo " Driver: ${COGL_DRIVER}"
954
echo " GL header: ${CLUTTER_GL_HEADER}"
956
if test "x$COGL_DRIVER" = "xgles"; then
957
if test "x$use_gles2_wrapper" = "xyes"; then
958
echo " GLES version: 2.0"
960
echo " GLES version: 1.1"
964
if test "x$experimental_image" = "xno"; then
965
echo " Image backend: ${COGL_IMAGE_BACKEND}"
967
echo " Image backend: ${COGL_IMAGE_BACKEND} (WARNING: Experimental)"
970
# Clutter backend related flags
972
echo " • Clutter Backend:"
974
if test "x$experimental_backend" = "xno"; then
975
echo " Windowing system: ${CLUTTER_WINSYS}"
977
echo " Windowing system: ${CLUTTER_WINSYS} (WARNING: Experimental)"
980
if test "x$CLUTTER_WINSYS" = "xglx" ||
981
test "x$CLUTTER_WINSYS" = "xeglx"; then
982
echo " Enable XInput 1.0: ${xinput}"
983
echo " Enable X11 tests: ${x11_tests}"
988
# General warning about experimental features
989
if test "x$experimental_backend" = "xyes" ||
990
test "x$experimental_image" = "xyes"; then
992
echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"
995
echo " The stability of your build might be affected by one or more"
996
echo " experimental backends or experimental and unsupported features"
997
echo "☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠☠"