wayland-egl: do not require 'gl' to build
[platform/upstream/evas.git] / configure
index 27d0d82..14834d4 100755 (executable)
--- a/configure
+++ b/configure
@@ -3487,7 +3487,7 @@ ac_config_headers="$ac_config_headers config.h"
 
 
 
-am__api_version='1.13'
+am__api_version='1.12'
 
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
@@ -21910,7 +21910,7 @@ fi
 if test "x${have_dep}" = "xyes" ; then
    evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
    evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
-   evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
+   evas_engine_gl_common_libs="-lm $gl_pt_lib"
 else
    ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
 #include <SDL/SDL_opengles.h>
@@ -24143,12 +24143,12 @@ if test -n "$WAYLAND_EGL_LIBS"; then
     pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 wayland-client wayland-egl\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 wayland-client wayland-egl") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
+  pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 wayland-client wayland-egl" 2>/dev/null`
                      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -24194,7 +24194,7 @@ else
 $as_echo "yes" >&6; }
 
     have_dep="yes"
-    requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
+    requirement="egl >= 7.10 glesv2 wayland-client wayland-egl"
     evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
     evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
 
@@ -24314,7 +24314,7 @@ fi
 
       if test "x${have_glesv2}" = "xyes" ; then
          evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
-         evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
+         evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGLESv2 -lEGL"
       fi
 fi