* configure.in (CYGWIN_OBJ): New output variable.
* src/Makefile.in (CYGWIN_OBJ): Set with configure, not cpp.
2010-04-28 Glenn Morris <rgm@gnu.org>
+ * configure.in (CYGWIN_OBJ): New output variable.
+
* configure.in (GPM_MOUSE_SUPPORT): New output variable.
* configure.in (FONT_OBJ): New output variable.
buffer space.])
fi
+CYGWIN_OBJ=
+test "$opsys" = "cygwin" && CYGWIN_OBJ="sheap.o"
+AC_SUBST(CYGWIN_OBJ)
AH_TOP([/* GNU Emacs site configuration template file.
Copyright (C) 1988, 1993, 1994, 1999, 2000, 2001, 2002, 2004, 2005,
2010-04-28 Glenn Morris <rgm@gnu.org>
+ * Makefile.in (CYGWIN_OBJ): Set with configure, not cpp.
+
* Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure.
(MOUSE_SUPPORT) [!HAVE_MOUSE]: Use $GPM_MOUSE_SUPPORT.
## widget.o if USE_X_TOOLKIT, otherwise empty.
WIDGET_OBJ=@WIDGET_OBJ@
+## sheap.o if CYGWIN, otherwise empty.
+CYGWIN_OBJ=@CYGWIN_OBJ@
+
NS_OBJ=@NS_OBJ@
NS_SUPPORT=@NS_SUPPORT@
#endif
#endif
-#ifdef CYGWIN
-CYGWIN_OBJ = sheap.o
-#endif
-
#ifdef HAVE_NS
ns_appdir=@ns_appdir@/
ns_appbindir=@ns_appbindir@/