summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2006-08-25 11:48:44 -0400
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-06 15:19:38 +0000
commitf8e2af1d968a8698b0c7b9d7a7879c75d8529d80 (patch)
tree59b580cee646dd78e78c77c872d9e7cf9659843a /Configure
parent77483c227d1b4ce8aaa886af03cc41a9aa805d06 (diff)
downloadperl-f8e2af1d968a8698b0c7b9d7a7879c75d8529d80.tar.gz
Re: [PATCH] Detecting bad /dev/null's in Configure
Message-ID: <44EF541C.7050801@gentoo.org> p4raw-id: //depot/perl@29217
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure14
1 files changed, 13 insertions, 1 deletions
diff --git a/Configure b/Configure
index f0865f97ce..0e4de27290 100755
--- a/Configure
+++ b/Configure
@@ -26,7 +26,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Nov 6 10:30:43 CET 2006 [metaconfig 3.0 PL70]
+# Generated on Mon Nov 6 16:18:02 CET 2006 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -65,6 +65,18 @@ EOF
exit 1
fi
+if test ! -c /dev/null ; then
+ cat >&4 <<EOF
+***
+*** I'm sorry, but /dev/null appears to be a file rather than a device.
+*** Please consult your operating sytem's notes for making a device
+*** in /dev.
+*** Cannot continue, aborting.
+***
+EOF
+ exit 1
+fi
+
: compute my invocation name
me=$0
case "$0" in