This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
4efca6a043c15084453dab4ca211afc490951ff8
[perl5.git] / hints / freebsd.sh
1 # Oringal based on info from
2 # Carl M. Fongheiser <cmf@ins.infonet.net>
3 # Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT)
4 #
5 # Additional 1.1.5 defines from 
6 # Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
7 # Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET)
8 #
9 case "$osvers" in
10 0.*|1.0*)
11         usedl="$undef"
12         ;;
13 *)      d_dlopen="$define"
14         cccdlflags='-DPIC -fpic'
15         lddlflags='-Bshareable'
16         malloctype='void *'
17         groupstype='int'
18         d_setregid='undef'
19         d_setreuid='undef'
20         d_setrgid='undef'
21         d_setruid='undef'
22         i_unistd='undef'
23         ;;
24 esac
25 # Avoid telldir prototype conflict in pp_sys.c  (FreeBSD uses const DIR *)
26 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'