aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-11 13:17:24 -0700
committerDan Nicolaescu2010-04-11 13:17:24 -0700
commit76bd82023f5cc53d6ca40f33d87a10c26e5e9821 (patch)
tree7dfcdd79c1f470ae208860578c430761645746a0 /lib-src
parent8d9c8ece918ed3f363f094526b358bcccb90dda5 (diff)
downloademacs-76bd82023f5cc53d6ca40f33d87a10c26e5e9821.tar.gz
emacs-76bd82023f5cc53d6ca40f33d87a10c26e5e9821.zip
Use autoconf, not cpp for some variables.
* Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) (C_SWITCH_X_SITE): Define using autoconf. * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) (C_SWITCH_X_SITE): Define using autoconf. * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using autoconf, not cpp. (ALL_CFLAGS): Use them as make variables.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog6
-rw-r--r--lib-src/Makefile.in16
2 files changed, 11 insertions, 11 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index f618a1e6fab..857d3600f1a 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,9 @@
12010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
4 autoconf, not cpp.
5 (ALL_CFLAGS): Use them as make variables.
6
12010-04-07 Christoph <cschol2112@googlemail.com> (tiny change) 72010-04-07 Christoph <cschol2112@googlemail.com> (tiny change)
2 8
3 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis 9 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 1e3d6868073..43f934a9ccd 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -34,6 +34,8 @@ CFLAGS=@CFLAGS@
34version=@version@ 34version=@version@
35configuration=@configuration@ 35configuration=@configuration@
36EXEEXT=@EXEEXT@ 36EXEEXT=@EXEEXT@
37C_SWITCH_SYSTEM=@c_switch_system@
38C_SWITCH_MACHINE=@c_switch_machine@
37 39
38# Program name transformation. 40# Program name transformation.
39TRANSFORM = @program_transform_name@ 41TRANSFORM = @program_transform_name@
@@ -168,14 +170,6 @@ LIBS_MOVE = $(LIBS_MAIL) $(KRB4LIB) $(DESLIB) $(KRB5LIB) $(CRYPTOLIB) $(COM_ERRL
168#define LIBS_MACHINE 170#define LIBS_MACHINE
169#endif 171#endif
170 172
171#ifndef C_SWITCH_SYSTEM
172#define C_SWITCH_SYSTEM
173#endif
174
175#ifndef C_SWITCH_MACHINE
176#define C_SWITCH_MACHINE
177#endif
178
179#undef MOVEMAIL_NEEDS_BLESSING 173#undef MOVEMAIL_NEEDS_BLESSING
180#ifndef MAIL_USE_FLOCK 174#ifndef MAIL_USE_FLOCK
181#ifndef MAIL_USE_LOCKF 175#ifndef MAIL_USE_LOCKF
@@ -194,11 +188,11 @@ LOADLIBES=LIBS_SYSTEM LIBS_MACHINE
194/* Those files shared with other GNU utilities need HAVE_CONFIG_H 188/* Those files shared with other GNU utilities need HAVE_CONFIG_H
195 defined before they know they can take advantage of the information 189 defined before they know they can take advantage of the information
196 in ../src/config.h. */ 190 in ../src/config.h. */
197ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ 191ALL_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \
198 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} 192 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
199LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ 193LINK_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \
200 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} 194 -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS}
201CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ 195CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \
202 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} 196 -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS}
203 197
204.SUFFIXES: .m 198.SUFFIXES: .m