summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2008-12-09 23:09:20 +0000
committerVincent Torri <vincent.torri@gmail.com>2008-12-09 23:09:20 +0000
commit54401e6a7d661e02ec935d26a8b078cdacc921c3 (patch)
treebe28b3f63262233513a1bfaaa2f43961d6b9e512 /configure.ac
parentc816e3f93c5ed13872d6fc89c6d150d9cd796d0f (diff)
ddraw and direct3d engines: link against libgdi32.a because of GetDeviceCaps
SVN revision: 38073
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f15250e..2a2f4a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,11 +39,11 @@ EXPEDITE_CHECK_ENGINE([opengl-x11], [OpenGL X11], "yes")
39EXPEDITE_CHECK_ENGINE([software-xcb], [Software XCB], "yes") 39EXPEDITE_CHECK_ENGINE([software-xcb], [Software XCB], "yes")
40 40
41# DirectDraw 41# DirectDraw
42EXPEDITE_CHECK_ENGINE([software-ddraw], [Software DirectDraw], "yes", [ddraw_libs="-lddraw -ldxguid"]) 42EXPEDITE_CHECK_ENGINE([software-ddraw], [Software DirectDraw], "yes", [ddraw_libs="-lddraw -ldxguid -lgdi32"])
43AC_SUBST(ddraw_libs) 43AC_SUBST(ddraw_libs)
44 44
45# Direct3D 45# Direct3D
46EXPEDITE_CHECK_ENGINE([direct3d], [Direct3D], "yes", [d3d_libs="-ld3d9 -ld3dx9d"]) 46EXPEDITE_CHECK_ENGINE([direct3d], [Direct3D], "yes", [d3d_libs="-ld3d9 -ld3dx9d -lgdi32"])
47AC_SUBST(d3d_libs) 47AC_SUBST(d3d_libs)
48 48
49# OpenGL GLEW 49# OpenGL GLEW