1 --- webkitgtk-2.0.0/Source/autotools/FindDependencies.m4.orig 2013-03-26 19:25:38.000000000 +0100
2 +++ webkitgtk-2.0.0/Source/autotools/FindDependencies.m4 2013-04-01 21:33:59.797598840 +0200
5 if test "$with_acceleration_backend" = "opengl"; then
6 if test "$enable_gles2" = "yes"; then
7 - acceleration_backend_description+= "(gles2"
8 + acceleration_backend_description="$acceleration_backend_description(gles2"
11 - acceleration_backend_description+="(gl"
12 + acceleration_backend_description="$acceleration_backend_description(gl"
15 if test "$enable_egl" = "yes"; then
16 - acceleration_backend_description+=", egl"
17 - OPENGL_LIBS+=" -lEGL"
18 + acceleration_backend_description="$acceleration_backend_description, egl"
19 + OPENGL_LIBS="$OPENGL_LIBS -lEGL"
21 if test "$enable_glx" = "yes"; then
22 - acceleration_backend_description+=", glx"
23 + acceleration_backend_description="$acceleration_backend_description, glx"
26 # Check whether dlopen() is in the core libc like on FreeBSD, or in a separate
28 AC_CHECK_FUNC([dlopen], [], [AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])])
29 AC_SUBST([DLOPEN_LIBS])
31 - OPENGL_LIBS+=" $DLOPEN_LIBS"
32 - acceleration_backend_description+=")"
33 + OPENGL_LIBS="$OPENGL_LIBS $DLOPEN_LIBS"
34 + acceleration_backend_description="$acceleration_backend_description)"
36 AC_SUBST([OPENGL_LIBS])