* s/sol2-4.h: Reorganize conditionals.
2008-07-17 Dan Nicolaescu <dann@ics.uci.edu>
+ * 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.
#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.
#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 <gshapiro@hhmi.org> reports the Motif header files
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.
#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. */