summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authordoursse <doursse>2008-04-29 22:02:30 +0000
committerdoursse <doursse@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2008-04-29 22:02:30 +0000
commitd8d00d5e5a578226e0caa0b5ba89cb2cf33f9f74 (patch)
tree12b4d43e52617e4f1b1cc9d67dd77f1851cd78bb /configure.in
parent13cca62c43bf4ae688da985abf65415917a93dbf (diff)
* add wince engine support
* add -datadir option in command line, so that the data directory can be specified with command line. Best way to manage data dir with Windows CE OS, which does not support env variables... SVN revision: 34402
Diffstat (limited to '')
-rw-r--r--configure.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 34a3851..376c334 100644
--- a/configure.in
+++ b/configure.in
@@ -6,6 +6,8 @@ rm -f config.cache
6AC_INIT(expedite, 0.6.0, enlightenment-devel@lists.sourceforge.net) 6AC_INIT(expedite, 0.6.0, enlightenment-devel@lists.sourceforge.net)
7AC_PREREQ(2.52) 7AC_PREREQ(2.52)
8AC_CONFIG_SRCDIR(configure.in) 8AC_CONFIG_SRCDIR(configure.in)
9AC_CANONICAL_BUILD
10AC_CANONICAL_HOST
9 11
10AM_INIT_AUTOMAKE(1.6 dist-bzip2) 12AM_INIT_AUTOMAKE(1.6 dist-bzip2)
11AM_CONFIG_HEADER(config.h) 13AM_CONFIG_HEADER(config.h)
@@ -16,6 +18,18 @@ AC_PROG_CC
16AM_PROG_CC_STDC 18AM_PROG_CC_STDC
17AC_HEADER_STDC 19AC_HEADER_STDC
18AC_C_CONST 20AC_C_CONST
21AM_PROG_CC_C_O
22
23WIN32_CFLAGS=""
24lt_enable_auto_import=""
25case "$host_os" in
26 cegcc)
27 WIN32_CFLAGS="-mwin32"
28 lt_enable_auto_import="-Wl,--enable-auto-import"
29 ;;
30esac
31AC_SUBST(WIN32_CFLAGS)
32AC_SUBST(lt_enable_auto_import)
19 33
20PKG_CHECK_MODULES([EVAS], evas) 34PKG_CHECK_MODULES([EVAS], evas)
21 35
@@ -60,6 +74,10 @@ EXPEDITE_CHECK_ENGINE([software-16-ddraw], [Software 16 bits DirectDraw], "yes",
60### Direct3D 74### Direct3D
61EXPEDITE_CHECK_ENGINE([direct3d], [Direct3D], "yes", [d3d_libs="-ld3d9 -ld3dx9d"]) 75EXPEDITE_CHECK_ENGINE([direct3d], [Direct3D], "yes", [d3d_libs="-ld3d9 -ld3dx9d"])
62 76
77# TODO: Check availability of libs
78### 16bit WinCE
79EXPEDITE_CHECK_ENGINE([software-16-wince], [Software 16 bits WinCE], "yes", [wince_16_libs="-laygshell"])
80
63### Software SDL 81### Software SDL
64EXPEDITE_CHECK_ENGINE([software-sdl], [Software SDL], "yes") 82EXPEDITE_CHECK_ENGINE([software-sdl], [Software SDL], "yes")
65 83
@@ -97,6 +115,7 @@ AC_SUBST(x_libs)
97AC_SUBST(ddraw_libs) 115AC_SUBST(ddraw_libs)
98AC_SUBST(ddraw_16_libs) 116AC_SUBST(ddraw_16_libs)
99AC_SUBST(d3d_libs) 117AC_SUBST(d3d_libs)
118AC_SUBST(wince_16_libs)
100AC_SUBST(glew_libs) 119AC_SUBST(glew_libs)
101 120
102AC_OUTPUT([ 121AC_OUTPUT([
@@ -118,6 +137,7 @@ echo " Open GL Glew.................: ${have_opengl_glew}"
118echo " Software DirectDraw..........: ${have_software_ddraw}" 137echo " Software DirectDraw..........: ${have_software_ddraw}"
119echo " Software DirectDraw 16 bits..: ${have_software_16_ddraw}" 138echo " Software DirectDraw 16 bits..: ${have_software_16_ddraw}"
120echo " Direct3D.....................: ${have_direct3d}" 139echo " Direct3D.....................: ${have_direct3d}"
140echo " Software WinCE 16 bits.......: ${have_software_16_wince}"
121echo " Software SDL.................: ${have_software_sdl}" 141echo " Software SDL.................: ${have_software_sdl}"
122echo " FB...........................: ${have_fb}" 142echo " FB...........................: ${have_fb}"
123echo " DirectFB.....................: ${have_directfb}" 143echo " DirectFB.....................: ${have_directfb}"