php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #72634
Patch acloacl_configure.patch revision 2016-07-21 10:54 UTC by dkasyanov at cloudlinux dot com

Patch acloacl_configure.patch for *Compile Issues Bug #72634

Patch version 2016-07-21 10:54 UTC

Return to Bug #72634 | Download this patch
Patch Revisions:

Developer: dkasyanov@cloudlinux.com

diff -ruN php-7.0.8.orig/aclocal.m4 php-7.0.8/aclocal.m4
--- php-7.0.8.orig/aclocal.m4	2016-07-21 12:34:59.272000006 -0400
+++ php-7.0.8/aclocal.m4	2016-07-21 12:36:03.953000006 -0400
@@ -2678,6 +2678,8 @@
     if test -n "$val"; then
       echo "$var='$val' \\" >> $1
       if test `expr "X$ac_configure_args" : ".*${var}.*"` != 0; then
+	# Escape slash symbol
+	val=$(echo "$val" | sed -e "s/\//\\\//g")
         clean_configure_args=$(echo $clean_configure_args | sed -e "s/'$var=$val'//")
       fi
     fi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 16:01:31 2024 UTC