In metaconfig.git, the branch master has been updated

<http://perl5.git.perl.org/metaconfig.git/commitdiff/353c771d2fa0e1400c23d42c5e3f25131052b635?hp=e8c1f1f969242afd99fcf16b48691eb5fed210ce>

- Log -----------------------------------------------------------------
commit 353c771d2fa0e1400c23d42c5e3f25131052b635
Author: H.Merijn Brand - Tux <[email protected]>
Date:   Thu Apr 21 13:35:36 2016 +0200

    It does not work in SysV (solaris) or old BSD greps.
    
    Even though -q is POSIX, that does not guarantee succes
    
    Backport of e244340e4067bb332773529bbff797bd14f103de
    Author: Jarkko Hietaniemi <[email protected]>
    Date:   Wed Dec 16 20:19:03 2015 -0500
    
        Configure: grep -q is not portable
    
        It does not work in SysV (solaris) or old BSD greps.
-----------------------------------------------------------------------

Summary of changes:
 U/modified/Options.U | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/U/modified/Options.U b/U/modified/Options.U
index b803bef..a3f77ac 100644
--- a/U/modified/Options.U
+++ b/U/modified/Options.U
@@ -369,7 +369,8 @@ esac
 : run the defines and the undefines, if any, but leave the file out there...
 touch optdef.sh
 ?X: -q is POSIX
-grep -q '\\' optdef.sh
+?X: It does not work in SysV (solaris) or old BSD greps.
+grep '\\' optdef.sh
 if test $? = 0; then
     echo "Configure does not support \\ in -D arguments"
     exit 1

--
perl5 metaconfig repository

Reply via email to