php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #72987
Patch configure.patch revision 2016-08-31 08:48 UTC by lzsiga at freemail dot c3 dot hu

Patch configure.patch for Compile Warning Bug #72987

Patch version 2016-08-31 08:48 UTC

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

Developer: lzsiga@freemail.c3.hu

--- configure.old	2016-08-17 21:50:47.000000000 +0200
+++ configure	2016-08-31 10:40:16.000000000 +0200
@@ -3448,7 +3448,8 @@
      if test -n "$val"; then
        echo "$var='$val' \\" >> config.nice
        if test `expr "X$ac_configure_args" : ".*${var}.*"` != 0; then
-         clean_configure_args=$(echo $clean_configure_args | sed -e "s/'$var=$val'//")
+         sedtmpval=$(printf '%s' "$var=$val" | sed 's;[/\\];\\&;g')
+         clean_configure_args=$(echo $clean_configure_args | sed -e "s/$sedtmpval//")
        fi
      fi
    done
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 05:01:32 2024 UTC