[inseparable changes from patch from perl5.003_23 to perl5.003_24]
[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 usemymalloc='n'
11 usevfork='true'
12 useperlio='true'
13 d_eofnblk='define'
14 d_fork='undef'
15 d_vfork='define'
16 groupstype='int'
17
18 # compiler & linker flags
19
20 ccflags='-DAMIGAOS -mstackextend'
21 ldflags=''
22 optimize='-O2 -fomit-frame-pointer'
23
24 # uncomment the following settings if you are compiling for an 68020+ system
25
26 # ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
27 # ldflags='-m68020 -resident32'
28
29 # libs
30
31 libpth="$prefix/lib /local/lib"
32 glibpth="$libpth"
33 xlibpth="$libpth"
34
35 libswanted='gdbm m'
36 so=' '
37
38 # dynamic loading
39
40 usedl='n'
41
42 # uncomment the following line if a working version of dld is available
43
44 # usedl='y'
45 # dlext='o'
46 # cccdlflags='none'
47 # ccdlflags='none'
48 # lddlflags='-oformat a.out-amiga -r'
49
50 # Avoid telldir prototype conflict in pp_sys.c  (AmigaOS uses const DIR *)
51 # Configure should test for this.  Volunteers?
52 pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'