diff options
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r-- | hints/freebsd.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh new file mode 100644 index 0000000000..8a46326c6d --- /dev/null +++ b/hints/freebsd.sh @@ -0,0 +1,28 @@ +# Oringal based on info from +# Carl M. Fongheiser <cmf@ins.infonet.net> +# Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT) +# +# Additional 1.1.5 defines from +# Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net> +# Date: Wed, 28 Sep 1994 00:37:46 +0100 (MET) +# +case "$osvers" in +0.*|1.0*) + usedl="$undef" + ;; +*) d_dlopen="$define" + cccdlflags='-DPIC -fpic' + lddlflags='-Bshareable' + malloctype='void *' + groupstype='int' + d_setregid='undef' + d_setreuid='undef' + d_setrgid='undef' + d_setruid='undef' + i_unistd='undef' + ;; +esac +# Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *) +pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' +# FreeBSD has an older <db.h> header file. +DB_File_cflags='ccflags="$ccflags -DDBXS_HASH_TYPE=int -DDBXS_PREFIX_TYPE=int"' |