# HG changeset patch # User Dan Nicolaescu # Date 1271017044 25200 # Node ID 3879f5eab4e9ea7a6d89745a23f8b84d30d92840 # Parent f008e626c316fe6c94406985a0defecd6cc992c2 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. diff -r f008e626c316 -r 3879f5eab4e9 lib-src/ChangeLog --- a/lib-src/ChangeLog Sun Apr 11 13:04:24 2010 -0700 +++ b/lib-src/ChangeLog Sun Apr 11 13:17:24 2010 -0700 @@ -1,3 +1,9 @@ +2010-04-11 Dan Nicolaescu + + * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using + autoconf, not cpp. + (ALL_CFLAGS): Use them as make variables. + 2010-04-07 Christoph (tiny change) * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis diff -r f008e626c316 -r 3879f5eab4e9 lib-src/Makefile.in --- a/lib-src/Makefile.in Sun Apr 11 13:04:24 2010 -0700 +++ b/lib-src/Makefile.in Sun Apr 11 13:17:24 2010 -0700 @@ -34,6 +34,8 @@ version=@version@ configuration=@configuration@ EXEEXT=@EXEEXT@ +C_SWITCH_SYSTEM=@c_switch_system@ +C_SWITCH_MACHINE=@c_switch_machine@ # Program name transformation. TRANSFORM = @program_transform_name@ @@ -168,14 +170,6 @@ #define LIBS_MACHINE #endif -#ifndef C_SWITCH_SYSTEM -#define C_SWITCH_SYSTEM -#endif - -#ifndef C_SWITCH_MACHINE -#define C_SWITCH_MACHINE -#endif - #undef MOVEMAIL_NEEDS_BLESSING #ifndef MAIL_USE_FLOCK #ifndef MAIL_USE_LOCKF @@ -194,11 +188,11 @@ /* Those files shared with other GNU utilities need HAVE_CONFIG_H defined before they know they can take advantage of the information in ../src/config.h. */ -ALL_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ +ALL_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \ -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} -LINK_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ +LINK_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \ -I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CFLAGS} -CPP_CFLAGS = C_SWITCH_SYSTEM C_SWITCH_MACHINE -DHAVE_CONFIG_H \ +CPP_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) -DHAVE_CONFIG_H \ -I. -I../src -I${srcdir} -I${srcdir}/../src ${CPPFLAGS} ${CFLAGS} .SUFFIXES: .m diff -r f008e626c316 -r 3879f5eab4e9 lwlib/ChangeLog --- a/lwlib/ChangeLog Sun Apr 11 13:04:24 2010 -0700 +++ b/lwlib/ChangeLog Sun Apr 11 13:17:24 2010 -0700 @@ -1,3 +1,8 @@ +2010-04-11 Dan Nicolaescu + + * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) + (C_SWITCH_X_SITE): Define using autoconf. + 2010-04-11 Jan Djärv * lwlib-Xaw.c (widget_xft_data): New for Xft data. diff -r f008e626c316 -r 3879f5eab4e9 lwlib/Makefile.in --- a/lwlib/Makefile.in Sun Apr 11 13:04:24 2010 -0700 +++ b/lwlib/Makefile.in Sun Apr 11 13:17:24 2010 -0700 @@ -26,6 +26,8 @@ srcdir=@srcdir@ VPATH=@srcdir@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ +C_SWITCH_SYSTEM=@c_switch_system@ +C_SWITCH_MACHINE=@c_switch_machine@ CC=@CC@ CFLAGS=@CFLAGS@ diff -r f008e626c316 -r 3879f5eab4e9 oldXMenu/ChangeLog --- a/oldXMenu/ChangeLog Sun Apr 11 13:04:24 2010 -0700 +++ b/oldXMenu/ChangeLog Sun Apr 11 13:17:24 2010 -0700 @@ -1,3 +1,8 @@ +2010-04-11 Dan Nicolaescu + + * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) + (C_SWITCH_X_SITE): Define using autoconf. + 2010-03-10 Chong Yidong * Branch for 23.2. diff -r f008e626c316 -r 3879f5eab4e9 oldXMenu/Makefile.in --- a/oldXMenu/Makefile.in Sun Apr 11 13:04:24 2010 -0700 +++ b/oldXMenu/Makefile.in Sun Apr 11 13:17:24 2010 -0700 @@ -46,6 +46,8 @@ srcdir=@srcdir@ VPATH=@srcdir@ C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ +C_SWITCH_SYSTEM=@c_switch_system@ +C_SWITCH_MACHINE=@c_switch_machine@ EXTRA=insque.o CC=@CC@