# HG changeset patch # User Glenn Morris # Date 1272439239 25200 # Node ID 582ce1d4716e517d32c4e2703f2bad45a1667637 # Parent 66c73788b432454a5f2df4ddc63689b31f506359 Define CYGWIN_OBJ with configure, not cpp. * configure.in (CYGWIN_OBJ): New output variable. * src/Makefile.in (CYGWIN_OBJ): Set with configure, not cpp. diff -r 66c73788b432 -r 582ce1d4716e ChangeLog --- a/ChangeLog Wed Apr 28 00:15:10 2010 -0700 +++ b/ChangeLog Wed Apr 28 00:20:39 2010 -0700 @@ -1,5 +1,7 @@ 2010-04-28 Glenn Morris + * configure.in (CYGWIN_OBJ): New output variable. + * configure.in (GPM_MOUSE_SUPPORT): New output variable. * configure.in (FONT_OBJ): New output variable. diff -r 66c73788b432 -r 582ce1d4716e configure.in --- a/configure.in Wed Apr 28 00:15:10 2010 -0700 +++ b/configure.in Wed Apr 28 00:20:39 2010 -0700 @@ -2928,6 +2928,9 @@ 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, diff -r 66c73788b432 -r 582ce1d4716e src/ChangeLog --- a/src/ChangeLog Wed Apr 28 00:15:10 2010 -0700 +++ b/src/ChangeLog Wed Apr 28 00:20:39 2010 -0700 @@ -1,5 +1,7 @@ 2010-04-28 Glenn Morris + * 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. diff -r 66c73788b432 -r 582ce1d4716e src/Makefile.in --- a/src/Makefile.in Wed Apr 28 00:15:10 2010 -0700 +++ b/src/Makefile.in Wed Apr 28 00:20:39 2010 -0700 @@ -106,6 +106,9 @@ ## 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@ @@ -368,10 +371,6 @@ #endif #endif -#ifdef CYGWIN -CYGWIN_OBJ = sheap.o -#endif - #ifdef HAVE_NS ns_appdir=@ns_appdir@/ ns_appbindir=@ns_appbindir@/