summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authordoursse <doursse>2007-08-05 07:31:57 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2007-08-05 07:31:57 +0000
commit2d2badc29c016b66247ed97b77b2e59673b8c391 (patch)
treec93b6622ad87aa55a8e488b2f354e22ab34cf580 /configure.in
parent5e28c4089cb04e274964d08c85705066e42f83e2 (diff)
Glew OpenGL engine support added.
SVN revision: 31181
Diffstat (limited to '')
-rw-r--r--configure.in13
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 2239f6b..bb29302 100644
--- a/configure.in
+++ b/configure.in
@@ -25,7 +25,7 @@ else
25 PACKAGE_BIN_DIR="${bindir}" 25 PACKAGE_BIN_DIR="${bindir}"
26fi 26fi
27AC_SUBST(PACKAGE_BIN_DIR) 27AC_SUBST(PACKAGE_BIN_DIR)
28 28
29if test "x${libdir}" = 'xNONE'; then 29if test "x${libdir}" = 'xNONE'; then
30 if test "x${prefix}" = "xNONE"; then 30 if test "x${prefix}" = "xNONE"; then
31 PACKAGE_LIB_DIR="${ac_default_prefix}/lib" 31 PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
@@ -49,6 +49,15 @@ PKG_CHECK_MODULES([EVAS], evas)
49PCFLAGS=$CFLAGS 49PCFLAGS=$CFLAGS
50CFLAGS="$EVAS_CFLAGS $CFLAGS" 50CFLAGS="$EVAS_CFLAGS $CFLAGS"
51 51
52have_glew_opengl="no"
53AC_CHECK_HEADER(Evas_Engine_GL_Glew.h,
54 [ AC_DEFINE(HAVE_EVAS_GL_GLEW, 1, [Evas GL Glew Engine Support])
55 have_glew_opengl="yes"
56 glew_libs="-lglew32 -lgdi32" ],
57 [ dummy=no ],
58 [ #include <Evas.h> ]
59)
60
52have_xlib_opengl="no" 61have_xlib_opengl="no"
53AC_CHECK_HEADER(Evas_Engine_GL_X11.h, 62AC_CHECK_HEADER(Evas_Engine_GL_X11.h,
54 [ AC_DEFINE(HAVE_EVAS_GL, 1, [Evas GL Engine Support]) 63 [ AC_DEFINE(HAVE_EVAS_GL, 1, [Evas GL Engine Support])
@@ -100,6 +109,7 @@ fi
100AC_SUBST(x_cflags) 109AC_SUBST(x_cflags)
101AC_SUBST(x_libs) 110AC_SUBST(x_libs)
102AC_SUBST(ddraw_libs) 111AC_SUBST(ddraw_libs)
112AC_SUBST(glew_libs)
103 113
104####################################### 114#######################################
105## SDL 115## SDL
@@ -144,6 +154,7 @@ echo " Engines:"
144echo " Software Xlib...........: ${have_xlib}" 154echo " Software Xlib...........: ${have_xlib}"
145echo " Software Xlib 16 bits...: ${have_xlib_16}" 155echo " Software Xlib 16 bits...: ${have_xlib_16}"
146echo " X Render Xlib...........: ${have_xlib_render}" 156echo " X Render Xlib...........: ${have_xlib_render}"
157echo " Open GL Glew............: ${have_glew_opengl}"
147echo " Open GL Xlib............: ${have_xlib_opengl}" 158echo " Open GL Xlib............: ${have_xlib_opengl}"
148echo " Software DirectDraw.....: ${have_ddraw}" 159echo " Software DirectDraw.....: ${have_ddraw}"
149echo " Software SDL............: ${have_sdl}" 160echo " Software SDL............: ${have_sdl}"