Mercurial > emacs
comparison src/s/sol2.h @ 96765:8b34dc6bbff5
* s/sol2.h:
* s/sol2-4.h: Reorganize conditionals.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 17 Jul 2008 14:09:13 +0000 |
parents | cb1bfa1dca4f |
children | c06568fd3844 |
comparison
equal
deleted
inserted
replaced
96764:1307c33f5e9a | 96765:8b34dc6bbff5 |
---|---|
29 | 29 |
30 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option | 30 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option |
31 says where to find X windows at run time. */ | 31 says where to find X windows at run time. */ |
32 #ifndef __GNUC__ | 32 #ifndef __GNUC__ |
33 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX | 33 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX |
34 /* eggert thinks all versions of SunPro C allowed this. */ | |
35 #define C_DEBUG_SWITCH -g -O | |
34 #else /* GCC */ | 36 #else /* GCC */ |
35 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX | 37 /* We use ./prefix-args because we don't know whether LD_SWITCH_X_SITE_AUX |
36 has anything in it. It can be empty. | 38 has anything in it. It can be empty. |
37 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ | 39 This works ok in src. Luckily lib-src does not use LD_SWITCH_SYSTEM. */ |
38 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` | 40 #define LD_SWITCH_SYSTEM `./prefix-args -Xlinker LD_SWITCH_X_SITE_AUX` |
44 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. | 46 /* Prefer kstat over kvm in getloadavg.c, kstat doesn't require root. |
45 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined | 47 ghazi@caip.rutgers.edu, 7/21/97. Don't redefine if already defined |
46 (e.g., by config.h). */ | 48 (e.g., by config.h). */ |
47 #ifndef HAVE_LIBKSTAT | 49 #ifndef HAVE_LIBKSTAT |
48 #define HAVE_LIBKSTAT | 50 #define HAVE_LIBKSTAT |
49 #endif | |
50 | |
51 /* eggert thinks all versions of SunPro C allowed this. */ | |
52 #ifndef __GNUC__ | |
53 #define C_DEBUG_SWITCH -g -O | |
54 #endif | 51 #endif |
55 | 52 |
56 /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style | 53 /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style |
57 XIM support. */ | 54 XIM support. */ |
58 | 55 |