Unfortunately I veto this since _WIN32 is also defined under cygwin but is
the wrong thing to do.
Martin, how do we get config.h definitions to be picked up by the top level
makefile?
andy
At 04:57 PM 9/18/99 -0400, Craig Lanning wrote:
Mingw32 gcc 2.95 does not have the symbol WINDOWSNT defined, so the
wrong lines get selected for Mingw32. This patch replaces WINDOWSNT
with a symbol that is defined in the gcc 2.95 specs file (_WIN32).
This will now select the lines that don't create the link between
xemacs and xemacs-21.2-b19.exe.
1999-09-18 Craig Lanning <lanning(a)scra.org>
* Makefile.in.in: Changed ifdef WINDOWSNT to ifdef _WIN32.
Index: Makefile.in.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/Attic/Makefile.in.in,v
retrieving revision 1.1.2.12
diff -u -r1.1.2.12 Makefile.in.in
--- Makefile.in.in 1999/08/31 21:27:42 1.1.2.12
+++ Makefile.in.in 1999/09/18 20:42:30
@@ -412,7 +412,7 @@
for subdir in `find ${archlibdir} -type d ! -name RCS ! -name SCCS !
-name CVS
-print` ; \
do (cd $${subdir} && $(RM) -r RCS CVS SCCS \#* *~) ;
done ; \
else true; fi
-#ifdef WINDOWSNT
+#ifdef _WIN32
${INSTALL_PROGRAM} src/${PROGNAME} ${bindir}/${PROGNAME}
-chmod 0755 ${bindir}/${PROGNAME}
#else
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd