Correct USE_EGL check and bump to libva 1.0.10

Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
diff --git a/configure.ac b/configure.ac
index 1f9466e..7dc68ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,7 @@
           [libva_major_version.libva_minor_version.libva_micro_version])
 
 # if the library source code has changed, increment revision
-m4_define([libva_lt_revision], [9])
+m4_define([libva_lt_revision], [10])
 # if any interface was added/removed/changed, then inc current, reset revision
 m4_define([libva_lt_current], [1])
 # if any interface was added since last public release, then increment age
@@ -134,10 +134,10 @@
 AC_SUBST(GL_DEPS_CFLAGS)
 AC_SUBST(GL_DEPS_LIBS)
 AM_CONDITIONAL(USE_GLX, test "$USE_GLX" = "yes")
-AM_CONDITIONAL(USE_EGL, test "$USE_EGL" = "yes")
 
 # TBD: Check for EGL
 USE_EGL="yes"
+AM_CONDITIONAL(USE_EGL, test "$USE_EGL" = "yes")
 
 
 # Make sure drivers use the correctly versioned __vaDriverInit*() function name
diff --git a/libva.spec b/libva.spec
index 7f83c3c..0cda546 100644
--- a/libva.spec
+++ b/libva.spec
@@ -1,5 +1,5 @@
 #%define moduledir %(pkg-config xorg-server --variable=moduledir)
-%define libversion 1.0.9
+%define libversion 1.0.10
 
 Name:           libva
 Version:        %{libversion}