In metaconfig.git, the branch master has been updated

<http://perl5.git.perl.org/metaconfig.git/commitdiff/236145260289a2806c56fa4822162aac97798506?hp=ff006bc1e67739563aaed013558c8de785d2952a>

- Log -----------------------------------------------------------------
commit 236145260289a2806c56fa4822162aac97798506
Author: H.Merijn Brand - Tux <[email protected]>
Date:   Sun Apr 19 10:56:12 2015 +0200

    Inhibit the use of \ in -D arguments
-----------------------------------------------------------------------

Summary of changes:
 U/modified/Options.U | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/U/modified/Options.U b/U/modified/Options.U
index 1103da2..b803bef 100644
--- a/U/modified/Options.U
+++ b/U/modified/Options.U
@@ -368,6 +368,12 @@ 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
+if test $? = 0; then
+    echo "Configure does not support \\ in -D arguments"
+    exit 1
+fi
 . ./optdef.sh
 : create the posthint manipulation script and leave the file out there...
 ?X: this file will be perused by Oldconfig.U

--
perl5 metaconfig repository

Reply via email to