From: Gurucharan Shetty Date: Sun, 17 Nov 2013 02:14:51 +0000 (-0800) Subject: configure: Windows can have spaces in directories. X-Git-Tag: sliver-openvswitch-2.0.90-1~5^2~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4a6ba43734992b205e7d4dcbe4506c0b2996f0de;hp=db6964bbd27d365075618d8f5e9145d4291c3ccd;p=sliver-openvswitch.git configure: Windows can have spaces in directories. Running ./configure and testing for python through PATH gives out a bunch of errors because of the extra arguments. Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff --- diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 6b9a378e6..7c3798568 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -205,7 +205,7 @@ AC_DEFUN([OVS_CHECK_PYTHON], for dir in $PATH; do IFS=$ovs_save_IFS test -z "$dir" && dir=. - if test -x $dir/$binary && $dir/$binary -c 'import sys + if test -x "$dir"/"$binary" && "$dir"/"$binary" -c 'import sys if sys.hexversion >= 0x02040000 and sys.hexversion < 0x03000000: sys.exit(0) else: