Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:
Add support for XFixes and XDamage to Ecore_X.
Add atoms for translucency/composite support.

===================================================================
RCS file: /cvs/e/e17/libs/ecore/configure.in,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -3 -r1.136 -r1.137
--- configure.in        29 Apr 2006 04:27:58 -0000      1.136
+++ configure.in        19 May 2006 06:05:35 -0000      1.137
@@ -464,6 +464,75 @@
 
   AC_SUBST(Xrender_cflags)
   AC_SUBST(Xrender_libs)
+
+  Xfixes_libs=""
+  Xfixes_cflags=""
+  use_Xfixes="no"
+  PCFLAGS=$CFLAGS
+  CFLAGS=$x_cflags" "$x_includes
+  AC_CHECK_HEADER(X11/extensions/Xfixes.h,
+    [
+      AC_CHECK_LIB(Xfixes, XFixesExpandRegion,
+        [
+          AC_DEFINE(ECORE_XFIXES, 1, [Build support for Xfixes])
+          Xfixes_cflags=""
+          Xfixes_libs="-lXfixes"
+          use_Xfixes="yes"
+        ], [
+          Xfixes_cflags=""
+          Xfixes_libs=""
+          use_Xfixes="no"
+        ], [
+          $x_libs $x_ldflags
+        ]
+      )
+    ], [
+      Xfixes_cflags=""
+      Xfixes_libs=""
+      use_Xfixes="no"
+    ], [
+      #include <X11/Xlib.h>
+    ]
+  )
+  CFLAGS=$PCFLAGS
+  
+  AC_SUBST(Xfixes_cflags)
+  AC_SUBST(Xfixes_libs)
+
+  Xdamage_libs=""
+  Xdamage_cflags=""
+  use_Xdamage="no"
+  PCFLAGS=$CFLAGS
+  CFLAGS=$x_cflags" "$x_includes
+  AC_CHECK_HEADER(X11/extensions/Xdamage.h,
+    [
+      AC_CHECK_LIB(Xdamage, XDamageSubtract,
+        [
+          AC_DEFINE(ECORE_XDAMAGE, 1, [Build support for Xdamage])
+          Xdamage_cflags=""
+          Xdamage_libs="-lXdamage"
+          use_Xdamage="yes"
+        ], [
+          Xdamage_cflags=""
+          Xdamage_libs=""
+          use_Xdamage="no"
+        ], [
+          $x_libs $x_ldflags
+        ]
+      )
+    ], [
+      Xdamage_cflags=""
+      Xdamage_libs=""
+      use_Xdamage="no"
+    ], [
+      #include <X11/Xlib.h>
+    ]
+  )
+  CFLAGS=$PCFLAGS
+  
+  AC_SUBST(Xdamage_cflags)
+  AC_SUBST(Xdamage_libs)
+
 fi
 
 AC_SUBST(ecore_x_cflags)
@@ -1221,7 +1290,7 @@
 echo "  Ecore_Job....................: $have_ecore_job"
 echo "  Ecore_Con....................: $have_ecore_con (OpenSSL: $use_openssl)"
 echo "  Ecore_Txt....................: $have_ecore_txt"
-echo "  Ecore_X......................: $have_ecore_x (Xcursor: $use_Xcursor) 
(Xprint: $use_Xprint) (Xinerama: $use_Xinerama) (Xrandr: $use_Xrandr) 
(Xscreensaver: $use_Xss) (Xrender: $use_Xrender)"
+echo "  Ecore_X......................: $have_ecore_x (Xcursor: $use_Xcursor) 
(Xprint: $use_Xprint) (Xinerama: $use_Xinerama) (Xrandr: $use_Xrandr) 
(Xscreensaver: $use_Xss) (Xrender: $use_Xrender) (Xfixes: $use_Xfixes) 
(Xdamage: $use_Xdamage)"
 echo "  Ecore_FB.....................: $have_ecore_fb"
 echo "  Ecore_DFB....................: $have_ecore_dfb"
 echo "  Ecore_Evas...................: $have_ecore_evas"




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to