1 # Original based on info from
2 # Carl M. Fongheiser <cmf@ins.infonet.net>
3 # Date: Thu, 28 Jul 1994 19:17:05 -0500 (CDT)
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)
9 # Additional 2.* defines from
10 # Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
11 # Date: Sat, 8 Apr 1995 20:53:41 +0200 (MET DST)
13 # FreeBSD has the dynamic loading dl*() functions in /usr/lib/crt0.o,
14 # so Configure doesn't find them (unless you abandon the nm scan).
16 # The two flags "-fpic -DPIC" are used to indicate a
17 # will-be-shared object. Configure will guess the -fpic, (and the
18 # -DPIC is not used by perl proper) but the full define is included to
19 # be consistent with the FreeBSD general shared libs building process.
21 # setreuid and friends are inherently broken in all versions of FreeBSD.
28 1.1*) d_dlopen="$define"
29 cccdlflags='-DPIC -fpic'
30 lddlflags='-Bshareable $lddlflags'
40 cccdlflags='-DPIC -fpic'
41 lddlflags='-Bshareable $lddlflags'
48 # Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *)
49 # Configure should test for this. Volunteers?
50 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'