This is my patch patch.1k for perl5.001.
[p5sagit/p5-mst-13.2.git] / hints / next_3.sh
1 # This file has been put together by Anno Siegel <siegel@zrz.TU-Berlin.DE>
2 # and Andreas Koenig <k@franz.ww.TU-Berlin.DE>. Comments, questions, and
3 # improvements welcome!
4 #
5 # These hints work for NeXT 3.2 and 3.3.  3.0 has it's own
6 # special hint file.
7
8 ccflags='-DUSE_NEXT_CTYPE'
9 POSIX_cflags='ccflags="-posix $ccflags"'
10 ldflags='-u libsys_s'
11 libswanted='dbm gdbm db'
12
13 lddlflags='-r'
14 # Give cccdlflags an empty value since Configure will detect we are
15 # using GNU cc and try to specify -fpic for cccdlflags.
16 cccdlflags=' '
17
18 i_utime='undef'
19 groupstype='int'
20 direntrytype='struct direct'
21 d_strcoll='undef'
22 # the simple program `for ($i=1;$i<38771;$i++){$t{$i}=123}' fails
23 # with Larry's malloc on NS 3.2 due to broken sbrk()
24 usemymalloc='n'
25 d_uname='define'
26 d_setpgid='define'
27 d_setsid='define'
28 d_tcgetpgrp='define'
29 d_tcsetpgrp='define'
30 #
31 # On some NeXT machines, the timestamp put by ranlib is not correct, and
32 # this may cause useless recompiles.  Fix that by adding a sleep before
33 # running ranlib.  The '5' is an empirical number that's "long enough."
34 # (Thanks to Andreas Koenig <k@franz.ww.tu-berlin.de>)
35 ranlib='sleep 5; /bin/ranlib' 
36 #
37 # There where reports that the compiler on HPPA machines
38 # fails with the -O flag on pp.c.
39 if [ `arch` = "hppa" ]; then
40 pp_cflags='optimize="-g"'
41 fi