This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.000
[perl5.git] / hints / freebsd.sh
CommitLineData
a0d0e21e
LW
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#
9case "$osvers" in
100.*|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 ;;
24esac
25# Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *)
26pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
27# FreeBSD has an older <db.h> header file.
28DB_File_cflags='ccflags="$ccflags -DDBXS_HASH_TYPE=int -DDBXS_PREFIX_TYPE=int"'