From 4a6ba43734992b205e7d4dcbe4506c0b2996f0de Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Sat, 16 Nov 2013 18:14:51 -0800 Subject: [PATCH 1/1] 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 --- m4/openvswitch.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.43.0