Re: Inline PI function
[p5sagit/p5-mst-13.2.git] / hints / amigaos.sh
CommitLineData
55497cff 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
6archname='m68k-amigaos'
7cc='gcc'
8firstmakefile='GNUmakefile'
0a753a76 9usenm='true'
0a051f4f 10
11usedl='n'
55497cff 12usemymalloc='n'
13usevfork='true'
14useperlio='true'
15d_eofnblk='define'
16d_fork='undef'
17d_vfork='define'
18groupstype='int'
19
1b3374cc 20# the following is needed to prevent pdksh from blowing up
21
22i_neterrno='undef'
23
55497cff 24# libs
25
0a753a76 26libpth="$prefix/lib /local/lib"
55497cff 27glibpth="$libpth"
28xlibpth="$libpth"
29
0a753a76 30libswanted='gdbm m'
55497cff 31so=' '
32
0a051f4f 33# compiler & linker flags
55497cff 34
0a051f4f 35ccflags='-DAMIGAOS -mstackextend'
36ldflags=''
37optimize='-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'
0a753a76 43
0a051f4f 44# uncomment the following line if you want dynamic loading and
45# a working version of dld is available
0a753a76 46
0a051f4f 47# usedl=''
48# ccflags='-DAMIGAOS -mstackextend'
49# ldflags=''
50# optimize='-O2 -fomit-frame-pointer'
0a753a76 51# dlext='o'
52# cccdlflags='none'
53# ccdlflags='none'
54# lddlflags='-oformat a.out-amiga -r'
55497cff 55
b971f6e4 56# When AmigaOS runs a script with "#!", it sets argv[0] to the script name.
57toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
58
55497cff 59# Avoid telldir prototype conflict in pp_sys.c (AmigaOS uses const DIR *)
60# Configure should test for this. Volunteers?
61pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
b971f6e4 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
69dont_use_nlink='define'