Mercurial > emacs
diff src/s/gnu-linux.h @ 108229:0c1c81ee223e
Move LD_SWITCH_X_SITE_AUX from cpp to autoconf.
* configure.in (LD_SWITCH_X_SITE_AUX): Use AC_SUBST only, not AC_DEFINE as well.
(LD_SWITCH_X_SITE_AUX_RPATH): New output variable.
* nt/config.nt (LD_SWITCH_X_SITE_AUX): Remove.
* src/s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell
variable.
* src/s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
(LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH.
* src/s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove.
(LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of
LD_SWITCH_SYSTEM_tmp.
* src/Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH):
New variables, set by configure.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Mon, 03 May 2010 20:13:35 -0700 |
parents | d5c67777ae39 |
children | 06c34f190db1 |
line wrap: on
line diff
--- a/src/s/gnu-linux.h Mon May 03 20:06:27 2010 -0700 +++ b/src/s/gnu-linux.h Mon May 03 20:13:35 2010 -0700 @@ -1,6 +1,7 @@ /* This file is the configuration file for Linux-based GNU systems Copyright (C) 1985, 1986, 1992, 1994, 1996, 1999, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + 2005, 2006, 2007, 2008, 2009, 2010 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -171,12 +172,12 @@ #define START_FILES pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option - says where to find X windows at run time. */ + that says where to find X windows at run time. */ #ifdef __mips__ -#define LD_SWITCH_SYSTEM -G 0 LD_SWITCH_X_SITE_AUX +#define LD_SWITCH_SYSTEM -G 0 $(LD_SWITCH_X_SITE_AUX) #else -#define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX +#define LD_SWITCH_SYSTEM $(LD_SWITCH_X_SITE_AUX) #endif /* __mips__ */ #ifdef emacs @@ -192,11 +193,6 @@ #define LIB_GCC #define LIB_STANDARD -lgcc -lc -lgcc $(CRT_DIR)/crtn.o -/* _BSD_SOURCE is redundant, at least in glibc2, since we define - _GNU_SOURCE. Left in in case it's relevant to libc5 systems and - anyone's still using Emacs on those. --fx 2002-12-14 */ -/* #define C_SWITCH_SYSTEM -D_BSD_SOURCE */ - #ifdef HAVE_LIBNCURSES #define TERMINFO #define LIBS_TERMCAP -lncurses