From 8203ccefe4474d6a1d7869226fb4a47076b5e9d6 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Thu, 6 May 2010 14:49:43 +0000 Subject: 2010-05-06 Marcus Brinkmann * configure.ac: Detect Windows CE. (HAVE_W32CE_SYSTEM): New symbol and automake conditional. * ltmain.sh, m4/libtool.m4: Patch so that it works for Windows CE. --- configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 79d0904a..c0bcac1c 100644 --- a/configure.ac +++ b/configure.ac @@ -128,7 +128,12 @@ have_w32_system=no build_w32_glib=no build_w32_qt=no case "${host}" in - *-mingw32*) + *-mingw32ce*) + have_w32ce_system=yes + ;; +esac +case "${host}" in + *-mingw32ce*|*-mingw32*) # special stuff for Windoze NT have_dosish_system=yes have_w32_system=yes @@ -185,6 +190,10 @@ if test "$have_w32_system" = yes; then AC_DEFINE(HAVE_W32_SYSTEM,1, [Defined if we run on a W32 API based system]) fi AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes) +if test "$have_w32ce_system" = yes; then + AC_DEFINE(HAVE_W32CE_SYSTEM,1, [Defined if we run on a W32 CE API based system]) +fi +AM_CONDITIONAL(HAVE_W32CE_SYSTEM, test "$have_w32ce_system" = yes) AM_CONDITIONAL(BUILD_W32_GLIB, test "$build_w32_glib" = yes) AM_CONDITIONAL(BUILD_W32_QT, test "$build_w32_qt" = yes) -- cgit v1.2.3