# HG changeset patch # User Dan Nicolaescu # Date 1216303753 0 # Node ID 8b34dc6bbff5cee743b0472c97705c213d667105 # Parent 1307c33f5e9ac6727786958c2398c98840127b09 * s/sol2.h: * s/sol2-4.h: Reorganize conditionals. diff -r 1307c33f5e9a -r 8b34dc6bbff5 src/ChangeLog --- a/src/ChangeLog Thu Jul 17 13:57:13 2008 +0000 +++ b/src/ChangeLog Thu Jul 17 14:09:13 2008 +0000 @@ -1,5 +1,8 @@ 2008-07-17 Dan Nicolaescu + * s/sol2.h: + * s/sol2-4.h: Reorganize conditionals. + * ecrt0.c: Remove code depending on m68000, not used anymore. * fns.c (hash_remove): Make static. diff -r 1307c33f5e9a -r 8b34dc6bbff5 src/s/sol2-4.h --- a/src/s/sol2-4.h Thu Jul 17 13:57:13 2008 +0000 +++ b/src/s/sol2-4.h Thu Jul 17 14:09:13 2008 +0000 @@ -2,13 +2,6 @@ #include "sol2-3.h" -/* Get rid of -traditional and let const really do its thing. */ - -#ifdef __GNUC__ -#undef C_SWITCH_SYSTEM -#undef const -#endif /* __GNUC__ */ - #undef LD_SWITCH_SYSTEM /* `#ifdef USE_MOTIF' won't work here, since USE_MOTIF isn't defined yet. @@ -25,6 +18,10 @@ #define LD_SWITCH_SYSTEM_TEMACS -L/usr/ccs/lib \ `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` \ `NOT_USING_MOTIF || echo ' -R/usr/dt/lib -L/usr/dt/lib'` + +/* Get rid of -traditional and let const really do its thing. */ +#undef C_SWITCH_SYSTEM +#undef const #endif /* GCC */ /* Gregory Neil Shapiro reports the Motif header files diff -r 1307c33f5e9a -r 8b34dc6bbff5 src/s/sol2.h --- a/src/s/sol2.h Thu Jul 17 13:57:13 2008 +0000 +++ b/src/s/sol2.h Thu Jul 17 14:09:13 2008 +0000 @@ -31,6 +31,8 @@ says where to find X windows at run time. */ #ifndef __GNUC__ #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX +/* eggert thinks all versions of SunPro C allowed this. */ +#define C_DEBUG_SWITCH -g -O #else /* GCC */ /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX has anything in it. It can be empty. @@ -48,11 +50,6 @@ #define HAVE_LIBKSTAT #endif -/* eggert thinks all versions of SunPro C allowed this. */ -#ifndef __GNUC__ -#define C_DEBUG_SWITCH -g -O -#endif - /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style XIM support. */