3 # This file is mostly copied from hints/freebsd.sh with the OS version
4 # information taken out and only the FreeBSD-4 information intact.
5 # Please check with Todd Willey <xtoddx@gmail.com> before making
6 # modifications to this file. See http://www.dragonflybsd.org/
10 case "$usemymalloc" in
14 libswanted=`echo $libswanted | sed 's/ malloc / /'`
18 # Dynamic Loading flags have not changed much, so they are separated
19 # out here to avoid duplicating them everywhere.
21 *) objformat=`/usr/bin/objformat`
22 libpth="/usr/lib /usr/local/lib"
23 glibpth="/usr/lib /usr/local/lib"
26 cccdlflags='-DPIC -fPIC'
31 *) ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
32 if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
40 Some users have reported that Configure halts when testing for
41 the O_NONBLOCK symbol with a syntax error. This is apparently a
42 sh error. Rerunning Configure with ksh apparently fixes the
44 ksh Configure [your options]
48 # From: Anton Berezin <tobez@plab.ku.dk>
49 # To: perl5-porters@perl.org
50 # Subject: [PATCH 5.005_54] Configure - hints/freebsd.sh signal handler type
51 # Date: 30 Nov 1998 19:46:24 +0100
52 # Message-ID: <864srhhvcv.fsf@lion.plab.ku.dk>
57 # This script UU/usethreads.cbu will get 'called-back' by Configure
58 # after it has prompted the user for whether to use threads.
59 cat > UU/usethreads.cbu <<'EOCBU'
63 *) ldflags="-pthread $ldflags"
65 # Both in 4.x and 5.x gethostbyaddr_r exists but
66 # it is "Temporary function, not threadsafe"...
67 # Presumably earlier it didn't even exist.
68 d_gethostbyaddr_r="undef"
69 d_gethostbyaddr_r_proto="0"
77 case "$usemallocwrap" in
78 '') usemallocwrap='define' ;;