Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in 


Log Message:


xprint support to weed out xprint screens from the root list - they arent
real roots - they are special... :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -3 -r1.77 -r1.78
--- configure.in        22 Mar 2005 10:54:16 -0000      1.77
+++ configure.in        23 Mar 2005 11:49:47 -0000      1.78
@@ -295,6 +295,38 @@
 AC_SUBST(Xcursor_cflags)
 AC_SUBST(Xcursor_libs)
 
+Xprint_libs=""
+Xprint_cflags=""
+use_Xprint="no"
+PCFLAGS=$CFLAGS
+CFLAGS=$x_cflags" "$x_includes
+AC_CHECK_HEADER(X11/extensions/Print.h, [
+    AC_CHECK_LIB(Xp, XpQueryScreens, [
+        AC_DEFINE(ECORE_XPRINT, 1, [Build support for Xprint])
+        Xprint_cflags=""
+        Xprint_libs="-lXp"
+        use_Xprint="yes"
+      ], [
+        Xprint_cflags=""
+        Xprint_libs=""
+        use_Xprint="no"
+      ], [
+        $x_libs $x_ldflags
+      ]
+    )
+  ], [
+    Xprint_cflags=""
+    Xprint_libs=""
+    use_Xprint="no"
+  ], [
+    #include <X11/Xlib.h>
+  ]
+)
+CFLAGS=$PCFLAGS
+
+AC_SUBST(Xprint_cflags)
+AC_SUBST(Xprint_libs)
+
 Xinerama_libs=""
 Xinerama_cflags=""
 use_Xinerama="no"
@@ -844,7 +876,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) 
(Xinerama: $use_Xinerama)"
+echo "  Ecore_X.................: $have_ecore_x (Xcursor: $use_Xcursor) 
(Xprint: $use_Xprint) (Xinerama: $use_Xinerama)"
 echo "  Ecore_FB................: $have_ecore_fb"
 echo "  Ecore_Evas..............: $have_ecore_evas"
 echo "  Ecore_Evas GL Support...: $have_ecore_evas_gl"




-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to