configure: Add missing $val != "yes" test to override compile_prog() result
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 1 May 2017 18:48:19 +0000 (21:48 +0300)
committerJens Axboe <axboe@fb.com>
Mon, 1 May 2017 20:47:16 +0000 (14:47 -0600)
commitd418fa90f6daf75bb9336182f79c0b25aa6feecd
tree1572211a34215efd6efe668a7851df39acb4fd61
parentbda92394f9cbb5b611b6c56fb11ab6875035f00a
configure: Add missing $val != "yes" test to override compile_prog() result

Since it's possible for some platforms to use statically configured
configurations (e.g. see around L350 for Cygwin), it should test if
the variable hasn't been set to "yes" before initializing the variable
with "no", so that compile_prog() result can be safely ignored when
the platform knows it's supported.

ca205a75 (configure: Make Cygwin take regular configure path) started
this due to a major change in the configuration path, which changed
Cygwin to take the normal path taken by all other platforms, and
these two were added after that change.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
configure