Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore


Modified Files:
        configure.in acconfig.h 


Log Message:
Check separately for the Evas_Engine_FB.h header for enabling it in
ecore_evas.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/configure.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- configure.in        16 Dec 2003 04:57:42 -0000      1.21
+++ configure.in        16 Dec 2003 05:54:42 -0000      1.22
@@ -366,6 +366,37 @@
   AM_CONDITIONAL(BUILD_ECORE_EVAS_GL, false)
 fi
 
+have_ecore_evas_fb="";
+
+AC_MSG_CHECKING(whether ecore_evas fb support is to be built)
+
+AC_ARG_ENABLE(ecore-evas-fb, 
+[  --enable-ecore-evas-fb          enable fb in the ecore_evas module], [
+  if [ test "$enableval" = "yes" ]; then  
+    AC_MSG_RESULT(yes)
+    have_ecore_evas_fb="yes"
+  else
+    AC_MSG_RESULT(no)
+  fi
+], [
+  AC_MSG_RESULT(yes)
+  have_ecore_evas_fb="yes"
+]
+)
+
+if test "x$have_ecore_evas_fb" = "xyes"; then
+  AC_CHECK_HEADERS(Evas_Engine_FB.h,
+    [
+      AM_CONDITIONAL(BUILD_ECORE_EVAS_FB, true)
+      AC_DEFINE(BUILD_ECORE_EVAS_FB)
+    ], AM_CONDITIONAL(BUILD_ECORE_EVAS_FB, false),
+    [
+      #include <Evas.h>
+    ])
+else
+  AM_CONDITIONAL(BUILD_ECORE_EVAS_FB, false)
+fi
+
 AC_MSG_CHECKING(whether ecore_con module is to be built)
 
 have_ecore_con="";
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/acconfig.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- acconfig.h  5 Dec 2003 16:57:32 -0000       1.7
+++ acconfig.h  16 Dec 2003 05:54:43 -0000      1.8
@@ -5,6 +5,7 @@
 #undef PACKAGE_BIN_DIR
 #undef BUILD_ECORE_EVAS
 #undef BUILD_ECORE_EVAS_GL
+#undef BUILD_ECORE_EVAS_FB
 #undef BUILD_ECORE_FB
 #undef BUILD_ECORE_JOB
 #undef BUILD_ECORE_X




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to