This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5.000 patch.0e: fix various non-broken things in the x2p/ directory
[perl5.git] / hints / svr4.sh
1 # svr4 hints, System V Release 4.x
2 # Last modified 1994/12/03 by Tye McQueen, tye@metronet.com
3 # Use Configure -Dcc=gcc to use gcc.
4 case "$cc" in
5 '') cc='/bin/cc'
6     test -f $cc || cc='/usr/ccs/bin/cc'
7     ;;
8 esac
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 d_index='undef'         # Even if libucb.a used, use strchr() not index().
21 d_suidsafe=define       # "./Configure -d" can't figure this out easilly
22 usevfork='false'
23 cat <<'EOM'
24
25 If you wish to use dynamic linking, you must use 
26         LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
27 or
28         setenv LD_LIBRARY_PATH `pwd`
29 before running make.
30
31 EOM