Note SGI stdio/malloc related problem.
[p5sagit/p5-mst-13.2.git] / hints / svr4.sh
CommitLineData
a0d0e21e 1# svr4 hints, System V Release 4.x
1aef975c 2# Last modified 1995/01/28 by Tye McQueen, tye@metronet.com
a0d0e21e 3# Use Configure -Dcc=gcc to use gcc.
4case "$cc" in
5'') cc='/bin/cc'
6 test -f $cc || cc='/usr/ccs/bin/cc'
a0d0e21e 7 ;;
8esac
a0d0e21e 9# We include support for using libraries in /usr/ucblib, but the setting
10# of libswanted excludes some libraries found there. You may want to
11# prevent "ucb" from being removed from libswanted and see if perl will
12# build on your system.
13ldflags='-L/usr/ccs/lib -L/usr/ucblib'
d48672a2 14ccflags='-I/usr/include -I/usr/ucbinclude'
1aef975c 15# Don't use problematic libraries:
16libswanted=`echo " $libswanted " | sed -e 's/ malloc / /'` # -e 's/ ucb / /'`
17# libmalloc.a - Probably using Perl's malloc() anyway.
18# libucb.a - Remove it if you have problems ld'ing. We include it because
19# it is needed for ODBM_File and NDBM_File extensions.
20if [ -r /usr/ucblib/libucb.a ]; then # If using BSD-compat. library:
21 d_gconvert='undef' # Unusuable under UnixWare 1.1 [use gcvt() instead]
22 # Use the "native" counterparts, not the BSD emulation stuff:
23 d_bcmp='undef' d_bcopy='undef' d_bzero='undef' d_safebcpy='undef'
24 d_index='undef' d_killpg='undef' d_getprior='undef' d_setprior='undef'
25 d_setlinebuf='undef' d_setregid='undef' d_setreuid='undef'
26fi
27d_suidsafe='define' # "./Configure -d" can't figure this out easilly
a0d0e21e 28usevfork='false'
1aef975c 29cat <<'EOM' >&4
f4cb4c40 30
31If you wish to use dynamic linking, you must use
32 LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
33or
34 setenv LD_LIBRARY_PATH `pwd`
35before running make.
36
37EOM