Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : proto

Dir     : e17/proto/eflpp


Modified Files:
        configure.ac 


Log Message:
Fix build when fb not available. Someone with FB please verify this does not
break that case.

===================================================================
RCS file: /cvs/e/e17/proto/eflpp/configure.ac,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- configure.ac        3 Aug 2007 06:38:00 -0000       1.6
+++ configure.ac        3 Aug 2007 18:09:57 -0000       1.7
@@ -51,6 +51,26 @@
 
 dnl Checks for libraries
 
+AC_ARG_ENABLE(fbcon,
+       [AC_HELP_STRING([--enable-fbcon],[enable fbcon support])],
+       [enable_fbcon=$enableval], [enable_fbcon="auto"])
+have_fbcon=no
+if test "x$enable_fbcon" != "xno" ; then
+       AC_CHECK_HEADERS(Evas_Engine_FB.h,
+               [AC_CHECK_HEADER(Ecore_Fb.h,
+                       [have_fbcon=yes],
+                       [], [#include <Ecore.h>])],
+               [], [#include <Evas.h>])
+       if test "x$have_fbcon" = "xyes" ; then
+               AC_DEFINE(ENABLE_EFLPP_FB, 1, [Enable FB])
+       elif test "x$enable_fbcon" = "xyes" ; then
+               AC_MSG_ERROR(fbcon requested but no evas/ecore support found)
+       fi
+fi
+AM_CONDITIONAL(EFLPP_ENABLE_FB, test "x$have_fbcon" = xyes)
+
+
+
 dnl Check for pkg-config stuff
 pkg_modules="$esmart_modules $emotion_modules evas ecore ecore-config 
ecore-evas ecore-ipc ecore-txt ecore-con ecore-job sigc++-2.0 etk ewl"
 PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to