This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
amigaos4: Configure: /dev/null works, but test -c doesn't
authorAndy Broad <andy@broad.ology.org.uk>
Thu, 13 Aug 2015 23:00:55 +0000 (19:00 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 5 Sep 2015 15:12:40 +0000 (11:12 -0400)
Configure

index 464737d..906f66e 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -69,7 +69,10 @@ EOF
        exit 1
 fi
 
-if test ! -c /dev/null ; then
+if test -f /sys/utilities/MultiView ; then
+       # AmigaOS, test -c for /dev/null is not useful
+       :
+elif test ! -c /dev/null ; then
        cat <<EOF
 ***
 *** I'm sorry, but /dev/null appears to be a file rather than a device.