3 # talk to mrg@eterna.com.au if you want to change this file.
5 # netbsd keeps dynamic loading dl*() functions in /usr/lib/crt0.o,
6 # so Configure doesn't find them (unless you abandon the nm scan).
7 # this should be *just* 0.9 below as netbsd 0.9a was the first to
8 # introduce shared libraries. however, they don't work/build on
9 # pmax, powerpc and alpha ports correctly, yet.
13 archname=`uname -m`-${osname}
26 # this doesn't work (yet).
30 # cccdlflags="-DPIC -fPIC $cccdlflags"
31 # lddlflags="-shared $lddlflags"
36 # we use -fPIC here because -fpic is *NOT* enough for some of the
37 # extensions like Tk on some netbsd platforms (the sparc is one)
38 cccdlflags="-DPIC -fPIC $cccdlflags"
39 lddlflags="-Bforcearchive -Bshareable $lddlflags"
44 # netbsd 1.3 linker warns about setr[gu]id being deprecated.
45 # (setregid, setreuid, preferred?)
53 # netbsd had these but they don't really work as advertised, in the
54 # versions listed below. if they are defined, then there isn't a
55 # way to make perl call setuid() or setgid(). if they aren't, then
56 # ($<, $>) = ($u, $u); will work (same for $(/$)). this is because
57 # you can not change the real userid of a process under 4.4BSD.
58 # netbsd fixed this in 1.2A.
60 0.9*|1.0*|1.1*|1.2_*|1.2|1.2.*)
67 # netbsd 1.3 linker warns about setr[gu]id being deprecated.
68 # (setregid, setreuid, preferred?)