aboutsummaryrefslogtreecommitdiffstats
path: root/src/s/gnu-linux.h
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-20 22:33:24 -0700
committerDan Nicolaescu2010-04-20 22:33:24 -0700
commit4285ac5ac002f0a705baca4b4903668b271ee3d5 (patch)
treedd1f9201c6f9e36c0fe7687c9d7b5cf2f91f8ef4 /src/s/gnu-linux.h
parentfcc9374695394ec4733c3cb922cd841ac1fdbff1 (diff)
downloademacs-4285ac5ac002f0a705baca4b4903668b271ee3d5.tar.gz
emacs-4285ac5ac002f0a705baca4b4903668b271ee3d5.zip
Simplify LD_SWITCH_SYSTEM_TEMACS usage.
* s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS): * s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure detects -znocombreloc and passes it to the linker * s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty.
Diffstat (limited to 'src/s/gnu-linux.h')
-rw-r--r--src/s/gnu-linux.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index b9139435f61..a55fbcb9821 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -179,12 +179,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
179#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX 179#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
180#endif /* __mips__ */ 180#endif /* __mips__ */
181 181
182/* Link temacs with -z nocombreloc so that unexec works right, whether or
183 not -z combreloc is the default. GNU ld ignores unknown -z KEYWORD
184 switches, so this also works with older versions that don't implement
185 -z combreloc. */
186#define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc
187
188#ifdef emacs 182#ifdef emacs
189#define INTERRUPT_INPUT 183#define INTERRUPT_INPUT
190#endif 184#endif
@@ -201,7 +195,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
201/* _BSD_SOURCE is redundant, at least in glibc2, since we define 195/* _BSD_SOURCE is redundant, at least in glibc2, since we define
202 _GNU_SOURCE. Left in in case it's relevant to libc5 systems and 196 _GNU_SOURCE. Left in in case it's relevant to libc5 systems and
203 anyone's still using Emacs on those. --fx 2002-12-14 */ 197 anyone's still using Emacs on those. --fx 2002-12-14 */
204#define C_SWITCH_SYSTEM -D_BSD_SOURCE 198/* #define C_SWITCH_SYSTEM -D_BSD_SOURCE */
205 199
206/* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */ 200/* Paul Abrahams <abrahams@equinox.shaysnet.com> says this is needed. */
207#define LIB_MOTIF -lXm -lXpm 201#define LIB_MOTIF -lXm -lXpm
@@ -223,7 +217,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
223/* Use BSD process groups, but use setpgid() instead of setpgrp() to 217/* Use BSD process groups, but use setpgid() instead of setpgrp() to
224 actually set a process group. */ 218 actually set a process group. */
225/* Interesting: only GNU/Linux defines this, but the BSDs do not... */ 219/* Interesting: only GNU/Linux defines this, but the BSDs do not... */
226#define BSD_PGRPS 220/* #define BSD_PGRPS */
227 221
228#define NARROWPROTO 1 222#define NARROWPROTO 1
229 223