summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-07-16 07:27:43 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-07-16 07:27:43 +0000
commit6ac579b89565bdbab4fc627277970c9714e924eb (patch)
tree10cbc0e843e3ecc4ebad1be280bb4f10512b7196 /configure.in
parente3c28f97c7d2c516ecfc5b02fe564ff2cce1474a (diff)
sdl engine support in expedite
SVN revision: 30846
Diffstat (limited to '')
-rw-r--r--configure.in31
1 files changed, 30 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 6d11ff0..2239f6b 100644
--- a/configure.in
+++ b/configure.in
@@ -89,7 +89,6 @@ AC_CHECK_HEADER(Evas_Engine_Software_DDraw.h,
89 [ dummy=no ], 89 [ dummy=no ],
90 [ #include <Evas.h> ] 90 [ #include <Evas.h> ]
91) 91)
92CFLAGS=$PCFLAGS
93 92
94if test "x$have_xlib" = "xyes" -o "x$have_xlib_16" = "xyes" -o "x$have_xlib_render" = "xyes" -o "x$have_xlib_opengl" = "xyes" ; then 93if test "x$have_xlib" = "xyes" -o "x$have_xlib_16" = "xyes" -o "x$have_xlib_render" = "xyes" -o "x$have_xlib_opengl" = "xyes" ; then
95AC_PATH_XTRA 94AC_PATH_XTRA
@@ -102,6 +101,35 @@ AC_SUBST(x_cflags)
102AC_SUBST(x_libs) 101AC_SUBST(x_libs)
103AC_SUBST(ddraw_libs) 102AC_SUBST(ddraw_libs)
104 103
104#######################################
105## SDL
106AC_ARG_WITH(sdl-config, [ --with-sdl-config=SDL_CONFIG use sdl-config specified],
107[ SDL_CONFIG=$withval;
108 echo "using "$SDL_CONFIG" for sdl-config"; ],
109[ if test -z "$SDL_CONFIG"; then
110 AC_PATH_PROG(SDL_CONFIG, "sdl-config", "", $PATH)
111 fi
112])
113if test -z "$SDL_CONFIG" ; then SDL_CONFIG="sdl-config"; fi
114
115sdl_cflags=""
116sdl_libs=""
117
118have_sdl="no"
119AC_CHECK_HEADER(Evas_Engine_SDL.h,
120 [ AC_DEFINE(HAVE_SOFTWARE_SDL, 1, [Evas Software SDL Support])
121 have_sdl="yes"
122 sdl_cflags=`$SDL_CONFIG --cflags`
123 sdl_libs=`$SDL_CONFIG --libs` ],
124 [ dummy=no ],
125 [ #include <Evas.h> ]
126)
127
128AC_SUBST(sdl_cflags)
129AC_SUBST(sdl_libs)
130
131CFLAGS=$PCFLAGS
132
105AC_OUTPUT([ 133AC_OUTPUT([
106Makefile 134Makefile
107src/Makefile 135src/Makefile
@@ -118,6 +146,7 @@ echo " Software Xlib 16 bits...: ${have_xlib_16}"
118echo " X Render Xlib...........: ${have_xlib_render}" 146echo " X Render Xlib...........: ${have_xlib_render}"
119echo " Open GL Xlib............: ${have_xlib_opengl}" 147echo " Open GL Xlib............: ${have_xlib_opengl}"
120echo " Software DirectDraw.....: ${have_ddraw}" 148echo " Software DirectDraw.....: ${have_ddraw}"
149echo " Software SDL............: ${have_sdl}"
121echo 150echo
122echo " Installation:" 151echo " Installation:"
123echo " prefix..................: ${prefix}" 152echo " prefix..................: ${prefix}"