This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
metaconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b0533
)
Re: [PATCH] Detecting bad /dev/null's in Configure
author
Michael Cummings
<mcummings@gentoo.org>
Fri, 25 Aug 2006 15:48:44 +0000
(11:48 -0400)
committer
H.Merijn Brand
<h.m.brand@xs4all.nl>
Mon, 6 Nov 2006 15:16:37 +0000
(15:16 +0000)
Message-ID: <
44EF541C
.7050801@gentoo.org>
p4raw-id: //depot/metaconfig@29216
U/modified/Head.U
patch
|
blob
|
blame
|
history
diff --git
a/U/modified/Head.U
b/U/modified/Head.U
index
45d50ad
..
d8ee6c4
100644
(file)
--- a/
U/modified/Head.U
+++ b/
U/modified/Head.U
@@
-134,6
+134,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