ecore: take static as a yes.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Aug 2011 20:31:15 +0000 (20:31 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 12 Aug 2011 20:31:15 +0000 (20:31 +0000)
Note: maybe it would be better to put yes in the .pc file
instead of static. I don't see any advantage having that
information in the pc file.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@62412 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

configure.ac

index 124a9ab..2880161 100644 (file)
@@ -1503,6 +1503,9 @@ if test "x$have_ecore_evas_software_x11" = "xyes" ; then
       AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XLIB, 1, [Evas Software Xlib Engine Support])
    fi
    have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
+   if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
+      have_ecore_evas_software_xcb="yes"
+   fi
    if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
       AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XCB, 1, [Evas Software XCB Engine Support])
    fi
@@ -1525,6 +1528,9 @@ if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_
 
 # opengl does not work with xcb (yet)
    have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
+   if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
+      have_ecore_evas_opengl_xcb="yes"
+   fi
    if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
       PKG_CHECK_MODULES(XCB_X11, x11-xcb,
         [ have_ecore_x_opengl_xcb="yes"