Commit | Line | Data |
94b6baf5 |
1 | # Hints for the Power UNIX operating system running on Harris NightHawk |
2 | # machines. Written by Tom.Horsley@mail.hcsc.com |
3 | # |
4 | # This config uses dynamic linking and the Harris C compiler. It has been |
5 | # tested on a Harris 5800 running Power UNIX as well as a (prototype) Harris |
6 | # 6800 running Power UNIX. |
7 | |
8 | # Internally at Harris, we use a source management tool which winds up |
9 | # giving us read-only copies of source trees that are mostly symbolic links. |
10 | # That upsets the perl build process when it tries to edit opcode.h and |
11 | # embed.h or touch perly.c or perly.h, so turn those files into "real" files |
12 | # when Configure runs. (If you already have "real" source files, this won't |
13 | # do anything). |
14 | # |
15 | if [ -x /usr/local/mkreal ] |
16 | then |
17 | for i in '.' '..' |
18 | do |
19 | for j in embed.h opcode.h perly.h perly.c |
20 | do |
21 | if [ -h $i/$j ] |
22 | then |
23 | ( cd $i ; /usr/local/mkreal $j ; chmod 666 $j ) |
24 | fi |
25 | done |
26 | done |
27 | fi |
28 | |
29 | # We DO NOT want -lmalloc or -lPW, we DO need -lgen to follow -lnsl, so |
30 | # fixup libswanted to reflect that desire. |
31 | # |
32 | libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /' -e 's/ nsl / nsl gen /'` |
33 | |
34 | # We DO NOT want /usr/ucblib in glibpth |
35 | # |
36 | glibpth=`echo ' '$glibpth' ' | sed -e 's@ /usr/ucblib @ @'` |
37 | |
38 | # Yes, csh exists, but doesn't work worth beans, if perl tries to use it, |
39 | # the glob test fails, so just pretend it isn't there... |
40 | # |
41 | d_csh='undef' |
42 | |
43 | # Need to use Harris cc for most of these options to be meaningful (if you |
44 | # want to get this to work with gcc, you're on your own :-). Passing |
45 | # -Bexport to the linker when linking perl is important because it leaves |
46 | # the interpreter internal symbols visible to the shared libs that will be |
47 | # loaded on demand (and will try to reference those symbols). |
48 | # |
49 | cc='/bin/cc' |
50 | cccdlflags='-Zpic' |
51 | ccdlflags='-Zlink=dynamic -Wl,-Bexport' |
5d94fbed |
52 | lddlflags='-Zlink=so' |
94b6baf5 |
53 | |
94b6baf5 |
54 | # Configure sometime finds what it believes to be ndbm header files on the |
55 | # system and imagines that we have the NDBM library, but we really don't. |
56 | # There is something there that once resembled ndbm, but it is purely |
57 | # for internal use in some tool and has been hacked beyond recognition |
58 | # (or even function :-) |
59 | # |
60 | i_ndbm='undef' |
61 | |
62 | # Misc other flags that might be able to change, but I know these work right. |
63 | # |
64 | d_suidsafe='define' |
65 | d_isascii='define' |
66 | d_mymalloc='undef' |
67 | usemymalloc='n' |
68 | ssizetype='ssize_t' |
69 | usevfork='false' |