changeset 2958:9e04ad6a1ac6

[xemacs-hg @ 2005-09-27 05:35:24 by ben] Add SRC inclusion, for lib-src changes Makefile.in.in: Always include SRC, so <config.h> in lib-src always works. sysdep.c: Fix bit-rotted dup2 code. Also new -> new_. nt.c: Fix possible use of uninitialized var. Also new -> new_. text.c, event-Xt.c, lisp.h, number-gmp.c, number-gmp.h: Fix compilation warnings. A couple of changes of new -> new_, 'foo -> `foo'.
author ben
date Tue, 27 Sep 2005 05:35:26 +0000
parents 5eb04c84c7ae
children 4eb2a8c07cb3
files src/ChangeLog src/Makefile.in.in
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Sep 27 05:32:22 2005 +0000
+++ b/src/ChangeLog	Tue Sep 27 05:35:26 2005 +0000
@@ -1,3 +1,8 @@
+2005-09-27  Ben Wing  <ben@xemacs.org>
+
+	* Makefile.in.in (cppflags):
+	Always include SRC, so <config.h> in lib-src always works.
+
 2005-09-27  Ben Wing  <ben@xemacs.org>
 
 	* sysdep.c (emacs_set_tty):
--- a/src/Makefile.in.in	Tue Sep 27 05:32:22 2005 +0000
+++ b/src/Makefile.in.in	Tue Sep 27 05:35:26 2005 +0000
@@ -380,7 +380,7 @@
 ## -Demacs is needed to make some files produce the correct version
 ## for use in Emacs.
 
-cppflags = $(CPPFLAGS) -Demacs -I. $(c_switch_all)
+cppflags = $(CPPFLAGS) -Demacs -I. -I$(SRC) $(c_switch_all)
 cflags   = $(CFLAGS) $(cppflags)
 #if defined (WIN32_NATIVE)
 ldflags  = $(LDFLAGS) -mwindows -e _mainCRTStartup $(ld_switch_all) $(ld_dynamic_link_flags)