This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
on NeXT: gdbm problem fixed
[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.
10 echo Be aware that some of the tests that are run during "make test"
11 echo will fail due to the lack of POSIX support on this system.
12 echo
13 echo Also, if you have the GDBM installed, make sure the header file
14 echo is located at a place on the system where the C compiler will
15 echo find it.  By default, it is placed in /usr/local/include/gdbm.h.
16 echo It will not be found there.  Try moving it to
17 echo /NextDeveloper/Headers/bsd/gdbm.h.
18
19 ccflags='-DUSE_NEXT_CTYPE -DNEXT30_NO_ATTRIBUTE'
20 POSIX_cflags='ccflags="-posix $ccflags"'
21 useposix='undef'
22 ldflags='-u libsys_s'
23 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