summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authordoursse <doursse>2007-08-17 09:39:18 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2007-08-17 09:39:18 +0000
commiteba46d0b6d206d632992fe32761a3196d002aa91 (patch)
treebd853b22699ef1741c674aba00e689cbea7cbc3e /configure.in
parent2d2badc29c016b66247ed97b77b2e59673b8c391 (diff)
add direct3d engine support
SVN revision: 31360
Diffstat (limited to '')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index bb29302..353b911 100644
--- a/configure.in
+++ b/configure.in
@@ -99,6 +99,15 @@ AC_CHECK_HEADER(Evas_Engine_Software_DDraw.h,
99 [ #include <Evas.h> ] 99 [ #include <Evas.h> ]
100) 100)
101 101
102have_d3d="no"
103AC_CHECK_HEADER(Evas_Engine_Direct3D.h,
104 [ AC_DEFINE(HAVE_DIRECT3D, 1, [Evas Direct3D Engine Support])
105 have_d3d="yes"
106 d3d_libs="-ld3d9 -ld3dx9d" ],
107 [ dummy=no ],
108 [ #include <Evas.h> ]
109)
110
102if test "x$have_xlib" = "xyes" -o "x$have_xlib_16" = "xyes" -o "x$have_xlib_render" = "xyes" -o "x$have_xlib_opengl" = "xyes" ; then 111if test "x$have_xlib" = "xyes" -o "x$have_xlib_16" = "xyes" -o "x$have_xlib_render" = "xyes" -o "x$have_xlib_opengl" = "xyes" ; then
103AC_PATH_XTRA 112AC_PATH_XTRA
104x_dir=${x_dir:-/usr/X11R6} 113x_dir=${x_dir:-/usr/X11R6}
@@ -109,6 +118,7 @@ fi
109AC_SUBST(x_cflags) 118AC_SUBST(x_cflags)
110AC_SUBST(x_libs) 119AC_SUBST(x_libs)
111AC_SUBST(ddraw_libs) 120AC_SUBST(ddraw_libs)
121AC_SUBST(d3d_libs)
112AC_SUBST(glew_libs) 122AC_SUBST(glew_libs)
113 123
114####################################### 124#######################################
@@ -157,6 +167,7 @@ echo " X Render Xlib...........: ${have_xlib_render}"
157echo " Open GL Glew............: ${have_glew_opengl}" 167echo " Open GL Glew............: ${have_glew_opengl}"
158echo " Open GL Xlib............: ${have_xlib_opengl}" 168echo " Open GL Xlib............: ${have_xlib_opengl}"
159echo " Software DirectDraw.....: ${have_ddraw}" 169echo " Software DirectDraw.....: ${have_ddraw}"
170echo " Direct3D................: ${have_d3d}"
160echo " Software SDL............: ${have_sdl}" 171echo " Software SDL............: ${have_sdl}"
161echo 172echo
162echo " Installation:" 173echo " Installation:"