summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorAndy Broad <andy@broad.ology.org.uk>2015-08-13 19:07:28 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-09-05 11:12:41 -0400
commit70684ab7377364a53038793b6bdc053d9d8b3270 (patch)
tree1a00731fb36ee01e0cc114c67abf3a78d8e1ea09 /Configure
parent6e4fdf67cedcb200b4be239d23bdbf1fa6661aec (diff)
downloadperl-70684ab7377364a53038793b6bdc053d9d8b3270.tar.gz
amigaos4: Configure; abc/pdksh bug workaround, hardwire the fieldn
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/Configure b/Configure
index 32c6351d12..8da3690a15 100755
--- a/Configure
+++ b/Configure
@@ -5750,6 +5750,11 @@ $cc -o ${mc_file} $optimize $ccflags $ldflags $* ${mc_file}.c $libs;'
echo " "
echo "Computing filename position in cpp output for #include directives..." >&4
case "$osname" in
+amigaos) fieldn=3 ;; # Workaround for a bug in abc (pdksh).
+esac
+case "$fieldn" in
+'')
+case "$osname" in
vos) testaccess=-e ;;
*) testaccess=-r ;;
esac
@@ -5774,6 +5779,8 @@ EOF
chmod +x fieldn
fieldn=`./fieldn`
$rm -f foo.c fieldn
+;;
+esac
case $fieldn in
'') pos='???';;
1) pos=first;;