From: Enlightenment C. <no...@cv...> - 2006-08-17 19:38:32
|
Enlightenment CVS committal Author : turran Project : e17 Module : libs/ecore Dir : e17/libs/ecore Modified Files: configure.in Log Message: + Add a check for linux/input.h, this isnt acutally the best way, because we have to check the code inside, not only the file, maybe a test app will be usefull but i dont know much of autotools. + make ecore_evas_fb dependant to ecore_fb + on ecore_fb_private.h add a hack in case the linux headers are broken (2.6.15 - 2.6.17), thanks blak. for other kernels i still need more info to acutally fix the issues. =================================================================== RCS file: /cvs/e/e17/libs/ecore/configure.in,v retrieving revision 1.149 retrieving revision 1.150 diff -u -3 -r1.149 -r1.150 --- configure.in 11 Aug 2006 13:45:39 -0000 1.149 +++ configure.in 17 Aug 2006 19:38:30 -0000 1.150 @@ -589,10 +589,16 @@ if test "x$want_ecore_fb" = "xyes"; then AC_CHECK_HEADER(linux/fb.h, [ - AM_CONDITIONAL(BUILD_ECORE_FB, true) - AC_DEFINE(BUILD_ECORE_FB, 1, [Build Ecore_FB Module]) - have_ecore_fb="yes" - ecore_fb_libs="-lecore_fb"; + AC_CHECK_HEADER(linux/input.h, + [ + AM_CONDITIONAL(BUILD_ECORE_FB, true) + AC_DEFINE(BUILD_ECORE_FB, 1, [Build Ecore_FB Module]) + have_ecore_fb="yes" + ecore_fb_libs="-lecore_fb"; + ], [ + AM_CONDITIONAL(BUILD_ECORE_FB, false) + ] + ) ], [ AM_CONDITIONAL(BUILD_ECORE_FB, false) ] @@ -783,8 +789,7 @@ AC_MSG_RESULT(yes) ] ) - -if test "x$want_ecore_evas_fb" = "xyes"; then +if test "x$want_ecore_evas_fb" = "xyes" -a "x$have_ecore_fb" = "xyes"; then AC_CHECK_HEADER(Evas_Engine_FB.h, [ AM_CONDITIONAL(BUILD_ECORE_EVAS_FB, true) |