Mercurial > emacs
changeset 39331:8dc9a5e60b4f
(C_SWITCH_SYSTEM): Add.
(LD_SWITCH_SYSTEM): Include /usr/local/lib.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 18 Sep 2001 11:30:34 +0000 |
parents | e4caf503efef |
children | 4f1342b70a04 |
files | src/s/netbsd.h |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/netbsd.h Tue Sep 18 10:30:56 2001 +0000 +++ b/src/s/netbsd.h Tue Sep 18 11:30:34 2001 +0000 @@ -76,7 +76,16 @@ /* 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. We convert it to a -rpath option which is what OSF1 uses. */ -#define LD_SWITCH_SYSTEM `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` +#define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` +#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp /usr/local/lib + +/* The following is needed to make `configure' find Xpm, Xaw3d and + image include and library files if using /usr/bin/gcc. That + compiler seems to be modified to not find headers in + /usr/local/include or libs in /usr/local/lib by default. */ + +#define C_SWITCH_SYSTEM -I/usr/X11R6/include -I/usr/local/include -L/usr/local/lib + #endif /* __ELF__ */ /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears