summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-12-16 20:19:03 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-12-17 11:27:58 -0500
commite244340e4067bb332773529bbff797bd14f103de (patch)
tree236636cb6483163a9c3ea90a405d5ee84ba7ddef /Configure
parent06a9195c2193421a083cbf2336a4d7194cc0dda5 (diff)
downloadperl-e244340e4067bb332773529bbff797bd14f103de.tar.gz
Configure: grep -q is not portable
It does not work in SysV (solaris) or old BSD greps.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configure b/Configure
index 32ed1ff28e..2a4ee8c7a7 100755
--- a/Configure
+++ b/Configure
@@ -1864,7 +1864,7 @@ esac
: run the defines and the undefines, if any, but leave the file out there...
touch optdef.sh
-grep -q '\\' optdef.sh
+grep '\\' optdef.sh >/dev/null 2>&1
if test $? = 0; then
echo "Configure does not support \\ in -D arguments"
exit 1