Add fallback to tmpfile for use in cases where user's relying on
[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
55497cff 11usemymalloc='n'
12usevfork='true'
13useperlio='true'
14d_eofnblk='define'
15d_fork='undef'
16d_vfork='define'
17groupstype='int'
18
19# libs
20
0a753a76 21libpth="$prefix/lib /local/lib"
55497cff 22glibpth="$libpth"
23xlibpth="$libpth"
24
146174a9 25# This should remove unwanted libraries instead of limiting the set
26# to just these few. E.g. what about Berkeley DB?
fdaee7fc 27libswanted='gdbm m dld'
55497cff 28so=' '
29
0a051f4f 30# compiler & linker flags
146174a9 31# Respect command-line values.
55497cff 32
146174a9 33ccflags="$ccflags -DAMIGAOS -mstackextend"
34case "$optimize" in
35'') optimize='-O2 -fomit-frame-pointer';;
36esac
fdaee7fc 37dlext='o'
146174a9 38# Are these two different from the defaults?
fdaee7fc 39cccdlflags='none'
40ccdlflags='none'
41lddlflags='-oformat a.out-amiga -r'
0a051f4f 42
43# uncomment the following settings if you are compiling for an 68020+ system
fdaee7fc 44# and want a residentable executable instead of dynamic loading
0a051f4f 45
fdaee7fc 46# usedl='n'
0a051f4f 47# ccflags='-DAMIGAOS -mstackextend -m68020 -resident32'
48# ldflags='-m68020 -resident32'
0a753a76 49
b971f6e4 50# AmigaOS always reports only two links to directories, even if they
51# contain subdirectories. Consequently, we use this variable to stop
52# File::Find using the link count to determine whether there are
53# subdirectories to be searched. This will generate a harmless message:
54# Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
55# Propagating recommended variable dont_use_nlink
56dont_use_nlink='define'