This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
06d122ac96591ee96199e6347196e584a1cabcef
[perl5.git] / hints / next_3_0.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 # This file was modified to work on NS 3.0 by Kevin White
6 # <klwhite@magnus.acs.ohio-state.edu>, based on suggestions by Andreas
7 # Koenig and Andy Dougherty.
8
9 echo With NS 3.0 you won\'t be able to use the POSIX module.            >&4
10 echo Be aware that some of the tests that are run during \"make test\"  >&4
11 echo will fail due to the lack of POSIX support on this system.         >&4
12 echo                                                                    >&4
13 echo Also, if you have the GDBM installed, make sure the header file    >&4
14 echo is located at a place on the system where the C compiler will      >&4
15 echo find it.  By default, it is placed in /usr/local/include/gdbm.h.   >&4
16 echo It will not be found there.  Try moving it to                      >&4
17 echo /NextDeveloper/Headers/bsd/gdbm.h.                                 >&4
18
19 ccflags="$ccflags -DUSE_NEXT_CTYPE"
20 POSIX_cflags='ccflags="-posix $ccflags"'
21 useposix='undef'
22 ldflags="$ldflags -u libsys_s"
23 libswanted="$libswanted dbm gdbm db"
24 #
25 lddlflags='-r'
26 # Give cccdlflags an empty value since Configure will detect we are
27 # using GNU cc and try to specify -fpic for cccdlflags.
28 cccdlflags=' '
29 #
30 i_utime='undef'
31 groupstype='int'
32 direntrytype='struct direct'
33 d_strcoll='undef'
34 # the simple program `for ($i=1;$i<38771;$i++){$t{$i}=123}' fails
35 # with Larry's malloc on NS 3.2 due to broken sbrk()
36 usemymalloc='n'
37 d_uname='define'
38
39 # Thanks to Etienne Grossman <etienne@isr.isr.ist.utl.pt> for sending
40 # the correct values for perl5.003_11 for the following 4
41 # variables. For older version all four were defined.
42 d_setsid='undef'
43 d_tcgetpgrp='undef'
44 d_tcsetpgrp='undef'
45 d_setpgid='undef'
46
47 #
48 # On some NeXT machines, the timestamp put by ranlib is not correct, and
49 # this may cause useless recompiles.  Fix that by adding a sleep before
50 # running ranlib.  The '5' is an empirical number that's "long enough."
51 # (Thanks to Andreas Koenig <k@franz.ww.tu-berlin.de>)
52 ranlib='sleep 5; /bin/ranlib' 
53
54 # Doesn't support attributes, so we'll set that here.
55 d_attribute_format='undef'
56 d_attribute_malloc='undef'
57 d_attribute_nonnull='undef'
58 d_attribute_noreturn='undef'
59 d_attribute_pure='undef'
60 d_attribute_unused='undef'
61 d_attribute_warn_unused_result='undef'