Remove a warning  (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules
auto merge of #14673 : sylvestre/rust/master, r=alexcrichton

 Remove a warning (./configure: 1140: [: unexpected operator) when built with --disable-manage-submodules