Mercurial > emacs
diff src/s/netbsd.h @ 108459:1d1025faed5f
Merge from mainline.
author | Katsumi Yamaoka <katsumi@flagship2> |
---|---|
date | Wed, 05 May 2010 10:17:53 +0000 |
parents | 06c34f190db1 |
children | 8416c8d075e3 |
line wrap: on
line diff
--- a/src/s/netbsd.h Wed Apr 28 12:11:11 2010 +0000 +++ b/src/s/netbsd.h Wed May 05 10:17:53 2010 +0000 @@ -43,11 +43,9 @@ #define AMPERSAND_FULL_NAME -/* 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_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'` -#define LD_SWITCH_SYSTEM LD_SWITCH_SYSTEM_tmp -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib +/* LD_SWITCH_X_SITE_AUX_RPATH gives a -rpath option (which is what + OSF1 uses) that says where to find X windows at run time. */ +#define LD_SWITCH_SYSTEM $(LD_SWITCH_X_SITE_AUX_RPATH) -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears the library search parth, i.e. it won't search /usr/lib @@ -82,10 +80,5 @@ #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS -/* Use sigprocmask and friends instead of sigblock; - sigblock is considered obsolete on NetBSD. */ - -#define POSIX_SIGNALS 1 - /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 (do not change this comment) */