Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : apps/expedite

Dir     : e17/apps/expedite


Modified Files:
        configure.in 


Log Message:
 * 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...

===================================================================
RCS file: /cvs/e/e17/apps/expedite/configure.in,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- configure.in        23 Mar 2008 19:39:17 -0000      1.16
+++ configure.in        29 Apr 2008 22:02:29 -0000      1.17
@@ -6,6 +6,8 @@
 AC_INIT(expedite, 0.6.0, [EMAIL PROTECTED])
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(configure.in)
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
 
 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
 AM_CONFIG_HEADER(config.h)
@@ -16,6 +18,18 @@
 AM_PROG_CC_STDC
 AC_HEADER_STDC
 AC_C_CONST
+AM_PROG_CC_C_O
+
+WIN32_CFLAGS=""
+lt_enable_auto_import=""
+case "$host_os" in
+  cegcc)
+    WIN32_CFLAGS="-mwin32"
+    lt_enable_auto_import="-Wl,--enable-auto-import"
+    ;;
+esac
+AC_SUBST(WIN32_CFLAGS)
+AC_SUBST(lt_enable_auto_import)
 
 PKG_CHECK_MODULES([EVAS], evas)
 
@@ -60,6 +74,10 @@
 ### Direct3D
 EXPEDITE_CHECK_ENGINE([direct3d], [Direct3D], "yes", [d3d_libs="-ld3d9 
-ld3dx9d"])
 
+# TODO: Check availability of libs
+### 16bit WinCE
+EXPEDITE_CHECK_ENGINE([software-16-wince], [Software 16 bits WinCE], "yes", 
[wince_16_libs="-laygshell"])
+
 ### Software SDL
 EXPEDITE_CHECK_ENGINE([software-sdl], [Software SDL], "yes")
 
@@ -97,6 +115,7 @@
 AC_SUBST(ddraw_libs)
 AC_SUBST(ddraw_16_libs)
 AC_SUBST(d3d_libs)
+AC_SUBST(wince_16_libs)
 AC_SUBST(glew_libs)
 
 AC_OUTPUT([
@@ -118,6 +137,7 @@
 echo "    Software DirectDraw..........: ${have_software_ddraw}"
 echo "    Software DirectDraw 16 bits..: ${have_software_16_ddraw}"
 echo "    Direct3D.....................: ${have_direct3d}"
+echo "    Software WinCE 16 bits.......: ${have_software_16_wince}"
 echo "    Software SDL.................: ${have_software_sdl}"
 echo "    FB...........................: ${have_fb}"
 echo "    DirectFB.....................: ${have_directfb}"



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to