Commit | Line | Data |
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. |
4 | case "$cc" in |
5 | '') cc='/bin/cc' |
6 | test -f $cc || cc='/usr/ccs/bin/cc' |
a0d0e21e |
7 | ;; |
8 | esac |
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. |
13 | ldflags='-L/usr/ccs/lib -L/usr/ucblib' |
d48672a2 |
14 | ccflags='-I/usr/include -I/usr/ucbinclude' |
1aef975c |
15 | # Don't use problematic libraries: |
16 | libswanted=`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. |
20 | if [ -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' |
26 | fi |
27 | d_suidsafe='define' # "./Configure -d" can't figure this out easilly |
a0d0e21e |
28 | usevfork='false' |
a5f75d66 |
29 | |
30 | # Configure may fail to find lstat() since it's a static/inline |
31 | # function in <sys/stat.h> on Unisys U6000 SVR4, and possibly |
32 | # other SVR4 derivatives. |
33 | d_lstat=define |
34 | |
055be0b8 |
35 | # UnixWare has a broken csh. The undocumented -X argument to uname is probably |
850679cb |
36 | # a reasonable way of detecting UnixWare. Also in 2.1.1 the fields in |
37 | # FILE* got renamed! |
055be0b8 |
38 | uw_ver=`uname -v` |
39 | uw_isuw=`uname -X 2>&1 | grep Release` |
850679cb |
40 | if [ "$uw_isuw" = "Release = 4.2MP" ]; then |
41 | case $uw_ver in |
42 | 2.1) |
43 | d_csh='undef' |
44 | ;; |
45 | 2.1.*) |
46 | d_csh='undef' |
47 | stdio_cnt='((fp)->__cnt)' |
48 | d_stdio_cnt_lval='define' |
49 | stdio_ptr='((fp)->__ptr)' |
50 | d_stdio_ptr_lval='define' |
51 | ;; |
52 | esac |
055be0b8 |
53 | fi |
54 | |
a0edfb28 |
55 | # DDE SMES Supermax Enterprise Server |
3e3baf6d |
56 | case "`uname -sm`" in |
57 | "UNIX_SV SMES") |
a0edfb28 |
58 | if test "$cc" = '/bin/cc' -o "$gccversion" = "" |
59 | then |
60 | # for cc we need -K PIC (not -K pic) |
61 | cccdlflags="$cccdlflags -K PIC" |
62 | fi |
63 | # the *grent functions are in libgen. |
64 | libswanted="$libswanted gen" |
65 | # csh is broken (also) in SMES |
66 | d_csh='undef' |
67 | ;; |
68 | esac |
69 | |
1aef975c |
70 | cat <<'EOM' >&4 |
f4cb4c40 |
71 | |
72 | If you wish to use dynamic linking, you must use |
73 | LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH |
74 | or |
75 | setenv LD_LIBRARY_PATH `pwd` |
76 | before running make. |
77 | |
78 | EOM |