diff options
Diffstat (limited to 'hints/netbsd.sh')
-rw-r--r-- | hints/netbsd.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh index 787f0f13bb..71d508448a 100644 --- a/hints/netbsd.sh +++ b/hints/netbsd.sh @@ -41,6 +41,14 @@ case "$osvers" in esac ;; esac +# netbsd 1.3 linker warns about setr[gu]id being deprecated. +# (setregid, setreuid, preferred?) +case "$osvers" in +1.3|1.3*) + d_setrgid="$undef" + d_setruid="$undef" + ;; +esac # netbsd had these but they don't really work as advertised, in the # versions listed below. if they are defined, then there isn't a @@ -64,3 +72,8 @@ case "$osvers" in d_setruid="$undef" ;; esac + +# vfork is ok on NetBSD. +case "$usevfork" in +'') usevfork=true ;; +esac |