diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 0f66c7d..4ede88f 100644 --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,10 @@ AC_ARG_VAR(CC_FOR_BUILD,[build system C compiler]) # Set some internal variables depending on the platform for later use. have_w32_system=no case "${host}" in + *-mingw32ce*) + have_w32_system=yes + have_w32ce_system=yes + ;; *-mingw32*) have_w32_system=yes ;; @@ -129,16 +133,21 @@ AC_C_CONST # Substitution used for gpg-error-config GPG_ERROR_CONFIG_LIBS="-lgpg-error" GPG_ERROR_CONFIG_CFLAGS="" +GPG_ERROR_CONFIG_ISUBDIRAFTER="" AC_SUBST(GPG_ERROR_CONFIG_LIBS) AC_SUBST(GPG_ERROR_CONFIG_CFLAGS) +AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER) AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config]) # Special defines for certain platforms if test "$have_w32_system" = yes; then AC_DEFINE(HAVE_W32_SYSTEM,1,[Defined if we run on a W32 API based system]) + if test "$have_w32ce_system" = yes; then + AC_DEFINE(HAVE_W32CE_SYSTEM,1,[Defined if we run on WindowsCE]) + GPG_ERROR_CONFIG_ISUBDIRAFTER="gpg-extra" + fi BUILD_TIMESTAMP=`date --iso-8601=minutes` - AC_SUBST(BUILD_TIMESTAMP) changequote(,)dnl BUILD_FILEVERSION=`echo "$VERSION" | sed 's/\([0-9.]*\).*/\1./;s/\./,/g'` changequote([,])dnl @@ -152,6 +161,7 @@ fi AC_SUBST(BUILD_TIMESTAMP) AC_SUBST(BUILD_FILEVERSION) AM_CONDITIONAL(HAVE_W32_SYSTEM, test "$have_w32_system" = yes) +AM_CONDITIONAL(HAVE_W32CE_SYSTEM, test "$have_w32ce_system" = yes) AC_ARG_ENABLE(languages, |