]> granicus.if.org Git - gc/commitdiff
configure: Define GC_READ_ENV_FILE for WinCE.
authorIvan Maidanski <ivmai@mail.ru>
Thu, 15 Dec 2011 07:42:50 +0000 (11:42 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 15 Dec 2011 07:49:03 +0000 (11:49 +0400)
* configure.ac (GC_READ_ENV_FILE): Define AC macro for WinCE unless
'--disable-gc-debug' is set.

configure.ac

index c01c9b671758bd36fbf442639c27e79a6dd3e1fe..2c05b3d625c988d1a4136f2d0ac6342ffda39323 100644 (file)
@@ -358,6 +358,12 @@ case "$host" in
    powerpc-*-darwin*)
       powerpc_darwin=true
       ;;
+   *-*-wince*)
+      if test "$enable_gc_debug" != "no"; then
+        AC_DEFINE([GC_READ_ENV_FILE], 1,
+                  [Read environment variables from the GC 'env' file.])
+      fi
+      ;;
 esac
 
 if test "$GCC" == yes; then