New for Plan9 support
[p5sagit/p5-mst-13.2.git] / hints / next_3.sh
CommitLineData
75f92628 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!
4aa0a1f7 4#
5# These hints work for NeXT 3.2 and 3.3. 3.0 has it's own
6# special hint file.
7
75f92628 8ccflags='-DUSE_NEXT_CTYPE'
9POSIX_cflags='ccflags="-posix $ccflags"'
85e6fe83 10ldflags='-u libsys_s'
a0d0e21e 11libswanted='dbm gdbm db'
5d94fbed 12
85e6fe83 13lddlflags='-r'
5d94fbed 14# Give cccdlflags an empty value since Configure will detect we are
15# using GNU cc and try to specify -fpic for cccdlflags.
16cccdlflags=' '
17
a0d0e21e 18i_utime='undef'
19groupstype='int'
20direntrytype='struct direct'
21d_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()
24usemymalloc='n'
25d_uname='define'
26d_setpgid='define'
27d_setsid='define'
28d_tcgetpgrp='define'
29d_tcsetpgrp='define'
ecfc5424 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>)
35ranlib='sleep 5; /bin/ranlib'
40000a8c 36#
37# There where reports that the compiler on HPPA machines
38# fails with the -O flag on pp.c.
39if [ `arch` = "hppa" ]; then
40pp_cflags='optimize="-g"'
41fi