summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2008-02-25 06:08:34 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2008-02-25 06:08:34 +0000
commit3473bb5ae598119d33a39d348d5d2517f8db41ea (patch)
tree0996ebc720a17112cfa14a79cd968c3a8b8517dd /configure.in
parent06456e7fa3d150e53662f8160c535205856ec437 (diff)
Add initial DirectFB support.
SVN revision: 33834
Diffstat (limited to '')
-rw-r--r--configure.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cecaf52..56df489 100644
--- a/configure.in
+++ b/configure.in
@@ -169,6 +169,30 @@ if test "x$want_fb" = "xyes"; then
169fi 169fi
170AM_CONDITIONAL(BUILD_FB, test "x$have_fb" = "xyes") 170AM_CONDITIONAL(BUILD_FB, test "x$have_fb" = "xyes")
171 171
172### DIRECTFB
173want_directfb="yes"
174AC_MSG_CHECKING(whether DirectFB)
175AC_ARG_ENABLE(directfb,
176 AC_HELP_STRING([--enable-directfb], [enable DirectFB engine]),
177 [ want_directfb=$enableval ]
178)
179AC_MSG_RESULT($want_directfb)
180if test "x$want_directfb" = "xyes"; then
181 PKG_CHECK_EXISTS(evas-directfb,
182 [
183 AC_DEFINE(HAVE_EVAS_DIRECTFB, 1, [Evas DirectFB Engine Support])
184 have_evas_directfb="yes"
185 ],
186 [ have_evas_directfb="no" ]
187 )
188fi
189if test "x$have_evas_directfb" = "xyes"; then
190 PKG_CHECK_MODULES([DIRECTFB], directfb,
191 [ have_directfb="yes" ],
192 [ have_directfb="no" ])
193fi
194AM_CONDITIONAL(BUILD_DIRECTFB, test "x$have_directfb" = "xyes")
195
172# TODO: Check availability of libs 196# TODO: Check availability of libs
173### DirectDraw 197### DirectDraw
174want_software_ddraw="yes" 198want_software_ddraw="yes"
@@ -301,6 +325,7 @@ echo " Software DirectDraw 16 bits..: ${have_software_16_ddraw}"
301echo " Direct3D.....................: ${have_direct3d}" 325echo " Direct3D.....................: ${have_direct3d}"
302echo " Software SDL.................: ${have_software_sdl}" 326echo " Software SDL.................: ${have_software_sdl}"
303echo " FB...........................: ${have_fb}" 327echo " FB...........................: ${have_fb}"
328echo " DirectFB.....................: ${have_directfb}"
304echo 329echo
305echo " Installation:" 330echo " Installation:"
306echo " prefix.......................: ${prefix}" 331echo " prefix.......................: ${prefix}"