Doc tweaks.
[p5sagit/p5-mst-13.2.git] / hints / amigaos.sh
index 9d86e52..5800e66 100644 (file)
@@ -9,11 +9,9 @@ firstmakefile='GNUmakefile'
 usenm='true'
 
 usemymalloc='n'
-usevfork='true'
 useperlio='true'
 d_eofnblk='define'
-d_fork='undef'
-d_vfork='define'
+d_fork='define'
 groupstype='int'
 
 # libs
@@ -22,15 +20,20 @@ libpth="$prefix/lib /local/lib"
 glibpth="$libpth"
 xlibpth="$libpth"
 
+# This should remove unwanted libraries instead of limiting the set
+# to just these few.  E.g. what about Berkeley DB?
 libswanted='gdbm m dld'
 so=' '
 
 # compiler & linker flags
+# Respect command-line values.
 
-ccflags='-DAMIGAOS -mstackextend'
-ldflags=''
-optimize='-O2 -fomit-frame-pointer'
+ccflags="$ccflags -DAMIGAOS -mstackextend -Dfork=ix_vfork_resume"
+case "$optimize" in
+'') optimize='-O2 -fomit-frame-pointer';;
+esac
 dlext='o'
+# Are these two different from the defaults?
 cccdlflags='none'
 ccdlflags='none'
 lddlflags='-oformat a.out-amiga -r'