comparison 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
comparison
equal deleted inserted replaced
108458:30b11e5df204 108459:1d1025faed5f
41 #define END_FILES_1 41 #define END_FILES_1
42 #endif 42 #endif
43 43
44 #define AMPERSAND_FULL_NAME 44 #define AMPERSAND_FULL_NAME
45 45
46 /* Here is how to find X Windows. LD_SWITCH_X_SITE_AUX gives an -R option 46 /* LD_SWITCH_X_SITE_AUX_RPATH gives a -rpath option (which is what
47 says where to find X windows at run time. We convert it to a -rpath option 47 OSF1 uses) that says where to find X windows at run time. */
48 which is what OSF1 uses. */ 48 #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
49 #define LD_SWITCH_SYSTEM_tmp `echo LD_SWITCH_X_SITE_AUX | sed -e 's/-R/-Wl,-rpath,/'`
50 #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
51 49
52 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears 50 /* On post 1.3 releases of NetBSD, gcc -nostdlib also clears
53 the library search parth, i.e. it won't search /usr/lib 51 the library search parth, i.e. it won't search /usr/lib
54 for libc and friends. Using -nostartfiles instead avoids 52 for libc and friends. Using -nostartfiles instead avoids
55 this problem, and will also work on earlier NetBSD releases */ 53 this problem, and will also work on earlier NetBSD releases */
80 78
81 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */ 79 /* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method. */
82 80
83 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 81 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
84 82
85 /* Use sigprocmask and friends instead of sigblock;
86 sigblock is considered obsolete on NetBSD. */
87
88 #define POSIX_SIGNALS 1
89
90 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81 83 /* arch-tag: e80f364a-04e9-4faf-93cb-f36a0fe95c81
91 (do not change this comment) */ 84 (do not change this comment) */