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.
15 # we use -fPIC here because -fpic is *NOT* enough for some of the
16 # extensions like Tk on some netbsd platforms (the sparc is one)
17 cccdlflags="-DPIC -fPIC $cccdlflags"
18 lddlflags="-Bforcearchive -Bshareable $lddlflags"
19 # netbsd has these but they don't really work as advertised. if they
20 # are defined, then there isn't a way to make perl call setuid() or
21 # setgid(). if they aren't, then ($<, $>) = ($u, $u); will work (same
22 # for $(/$)). this is because you can not change the real userid of
23 # a process under 4.4BSD.
31 # Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *)
32 # Configure should test for this. Volunteers?
33 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
37 archname=`uname -m`-${osname}