blob: 98ff92f228cc18452dd5d538ec3c62228fc5f6c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# hints/hpux_9.sh, Perl Configure hints file for Hewlett Packard HP/UX 9.x
# Use Configure -Dcc=gcc to use gcc.
ccflags="$ccflags -D_POSIX_SOURCE -D_HPUX_SOURCE"
case "$cc" in
'') if cc $ccflags -Aa 2>&1 | $contains 'Unknown option "A"' >/dev/null
then # The bundled (limited) compiler doesn't
case "$usedl" in # support -Aa for "ANSI C mode".
'') usedl="$undef";; # Nor can it produce shared libraries.
esac
else
ccflags="$ccflags -Aa" # The add-on compiler supports ANSI C
fi
optimize='+O1'
;;
esac
libswanted='ndbm m dld'
# ldflags="-Wl,-E -Wl,-a,shared" # Force all shared?
ldflags="-Wl,-E"
usemymalloc='y'
alignbytes=8
selecttype='int *'
POSIX_cflags='ccflags="$ccflags -DFLT_MIN=1.17549435E-38"'
|