1 # svr4 hints, System V Release 4.x
2 # Use Configure -Dcc=gcc to use gcc.
5 test -f $cc || cc='/usr/ccs/bin/cc'
6 cccdlflags='-Kpic' # Probably needed for dynamic loading
9 test -d /usr/local/man || mansrc='none'
10 # We include support for using libraries in /usr/ucblib, but the setting
11 # of libswanted excludes some libraries found there. You may want to
12 # prevent "ucb" from being removed from libswanted and see if perl will
13 # build on your system.
14 ldflags='-L/usr/ccs/lib -L/usr/ucblib'
15 ccflags='-I/usr/include -I/usr/ucbinclude'
16 libswanted=`echo $libswanted | tr ' ' '\012' | egrep -v '^(malloc|ucb)$'`
17 # -lucb: Defines setreuid() and other routines Perl wants but they don't
18 # add any/much functionality and often won't ld properly.
19 # -lmalloc: Anyone know what problems this caused?
20 if [ "" = "$i_ndbm" -a ! -f /usr/ucblib/libndbm.a ]; then
21 # UnixWare 1.1 may install /usr/ucbinclude/ndbm.h w/o /usr/ucblib/libndbm.a
22 i_ndbm="$undef" # so Configure tries to build ext/NDBM_File and ld
23 fi # can't find dbm_open()! "./Configure -D i_ndbm=define" overrides.
25 d_suidsafe=define # "./Configure -d" can't figure this out
26 lddlflags="-G $ldflags" # Probably needed for dynamic loading
28 # dlopen routines exist but they don't work with perl.
29 # The case statement allows experimenters to override hint with