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 # Additional 2.0.5 and 2.1 defined from
14 # Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
15 # Date: Fri, 12 May 1995 14:30:38 +0200 (MET DST)
17 # FreeBSD has the dynamic loading dl*() functions in /usr/lib/crt0.o,
18 # so Configure doesn't find them (unless you abandon the nm scan).
20 # The two flags "-fpic -DPIC" are used to indicate a
21 # will-be-shared object. Configure will guess the -fpic, (and the
22 # -DPIC is not used by perl proper) but the full define is included to
23 # be consistent with the FreeBSD general shared libs building process.
25 # setreuid and friends are inherently broken in all versions of FreeBSD
26 # before 2.1-current (before approx date 4/15/95). It is fixed in 2.0.5
27 # and what-will-be-2.1
34 1.1*) d_dlopen="$define"
35 cccdlflags='-DPIC -fpic'
36 lddlflags='-Bshareable $lddlflags'
46 cccdlflags='-DPIC -fpic'
47 lddlflags='-Bshareable $lddlflags'
54 # Trying to cover 2.0.5, 2.1-current and future 2.1
55 # It does not covert all 2.1-current versions as the output of uname
56 # changed a few times.
58 2.0.5*|2.0-BUILD|2.1*)
60 cccdlflags='-DPIC -fpic'
61 lddlflags='-Bshareable $lddlflags'
62 # Are these defines necessary? Doesn't Configure find them
69 # Avoid telldir prototype conflict in pp_sys.c (FreeBSD uses const DIR *)
70 # Configure should test for this. Volunteers?
71 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'