emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

src/Makefile.in and MYCPPFLAGS


From: Richard Dawe
Subject: src/Makefile.in and MYCPPFLAGS
Date: Mon, 20 Jan 2003 10:50:37 +0000

[I sent this to bug-gnu-emacs originally, but I received no reply. Please CC
me on replies, since I'm not subscribed to any Emacs lists.]

Hello.

I tried to follow the instructions on building Emacs with support
for glyph debugging, but my setting of MYCPPFLAGS seemed to be ignored.
Looking at src/Makefile.in, I noticed that it included MYCPPFLAG
instead of MYCPPFLAGS. Below is a diff to fix this.

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

Index: src/Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/src/Makefile.in,v
retrieving revision 1.256
diff -p -u -3 -r1.256 Makefile.in
--- src/Makefile.in     20 Jul 2002 21:45:25 -0000      1.256
+++ src/Makefile.in     21 Jul 2002 19:26:49 -0000
@@ -272,7 +272,7 @@ TOOLKIT_DEFINES =
 
 /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM
    since it may have -I options that should override those two.  */
-ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAG) -I.
-I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_SITE C_SWITCH_X_SITE
C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS}
+ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAGS) -I.
-I${srcdir} C_SWITCH_MACHINE C_SWITCH_SYSTEM C_SWITCH_SITE C_SWITCH_X_SITE
C_SWITCH_X_MACHINE C_SWITCH_X_SYSTEM C_SWITCH_SYSTEM_TEMACS ${CFLAGS}
 .c.o:
        $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
 
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/ChangeLog,v
retrieving revision 1.264
diff -p -u -3 -r1.264 ChangeLog
--- ChangeLog   21 Jun 2002 21:00:03 -0000      1.264
+++ ChangeLog   21 Jul 2002 19:27:08 -0000
@@ -1,3 +1,7 @@
+2002-07-21  Richard Dawe  <address@hidden>
+
+       * Makefile.in: ALL_CFLAGS should include MYCPPFLAGS, not MYCPPFLAG.
+
 2002-06-21  Pavel Jank  <address@hidden>
 
        * configure.in: Add support for mipseb-*-netbsd* machines.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]