Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:


i added xinerama supprot to ecore...

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -3 -r1.70 -r1.71
--- configure.in        8 Jan 2005 18:40:31 -0000       1.70
+++ configure.in        10 Jan 2005 13:11:41 -0000      1.71
@@ -294,6 +294,38 @@
 AC_SUBST(Xcursor_cflags)
 AC_SUBST(Xcursor_libs)
 
+Xinerama_libs=""
+Xinerama_cflags=""
+use_Xinerama="no"
+PCFLAGS=$CFLAGS
+CFLAGS=$x_cflags" "$x_includes
+AC_CHECK_HEADER(X11/extensions/Xinerama.h, [
+    AC_CHECK_LIB(Xinerama, XineramaQueryScreens, [
+        AC_DEFINE(ECORE_XINERAMA, 1, [Build support for Xinerama])
+        Xinerama_cflags=""
+        Xinerama_libs="-lXinerama"
+        use_Xinerama="yes"
+      ], [
+        Xinerama_cflags=""
+        Xinerama_libs=""
+        use_Xinerama="no"
+      ], [
+        $x_libs $x_ldflags -lXrender
+      ]
+    )
+  ], [
+    Xinerama_cflags=""
+    Xinerama_libs=""
+    use_Xinerama="no"
+  ], [
+    #include <X11/Xlib.h>
+  ]
+)
+CFLAGS=$PCFLAGS
+
+AC_SUBST(Xinerama_cflags)
+AC_SUBST(Xinerama_libs)
+
 AC_SUBST(ecore_x_cflags)
 AC_SUBST(ecore_x_libs)
 
@@ -762,7 +794,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)"
+echo "  Ecore_X.................: $have_ecore_x (Xcursor: $use_Xcursor) 
(Xinerama: $use_Xinerama)"
 echo "  Ecore_FB................: $have_ecore_fb"
 echo "  Ecore_Evas..............: $have_ecore_evas"
 echo "  Ecore_Evas GL Support...: $have_ecore_evas_gl"




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to