Re: Inline PI function
[p5sagit/p5-mst-13.2.git] / hints / amigaos.sh
1 # hints/amigaos.sh
2 #
3 # talk to pueschel@imsdd.meb.uni-bonn.de if you want to change this file.
4 #
5 # misc stuff
6 archname='m68k-amigaos'
7 cc='gcc'
8 firstmakefile='GNUmakefile'
9 usenm='true'
10
11 usedl='n'
12 usemymalloc='n'
13 usevfork='true'
14 useperlio='true'
15 d_eofnblk='define'
16 d_fork='undef'
17 d_vfork='define'
18 groupstype='int'
19
20 # the following is needed to prevent pdksh from blowing up
21
22 i_neterrno='undef'
23
24 # libs
25
26 libpth="$prefix/lib /local/lib"
27 glibpth="$libpth"
28 xlibpth="$libpth"
29
30 libswanted='gdbm m'
31 so=' '
32
33 # compiler & linker flags
34
35 ccflags='-DAMIGAOS -mstackextend'
36 ldflags=''
37 optimize='-O2 -fomit-frame-pointer'
38
39 # uncomment the following settings if you are compiling for an 68020+ system
40
41 # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
42 # ldflags='-m68020 -resident32'
43
44 # uncomment the following line if you want dynamic loading and
45 # a working version of dld is available
46
47 # usedl=''
48 # ccflags='-DAMIGAOS -mstackextend'
49 # ldflags=''
50 # optimize='-O2 -fomit-frame-pointer'
51 # dlext='o'
52 # cccdlflags='none'
53 # ccdlflags='none'
54 # lddlflags='-oformat a.out-amiga -r'
55
56 # When AmigaOS runs a script with "#!", it sets argv[0] to the script name.
57 toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
58
59 # Avoid telldir prototype conflict in pp_sys.c  (AmigaOS uses const DIR *)
60 # Configure should test for this.  Volunteers?
61 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
62
63 # AmigaOS always reports only two links to directories, even if they
64 # contain subdirectories.  Consequently, we use this variable to stop
65 # File::Find using the link count to determine whether there are
66 # subdirectories to be searched.  This will generate a harmless message:
67 # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
68 #       Propagating recommended variable dont_use_nlink
69 dont_use_nlink='define'