configure: output_sym CONFIG_GFIO
authorTomohiro Kusumi <tkusumi@tuxera.com>
Mon, 1 May 2017 18:48:14 +0000 (21:48 +0300)
committerJens Axboe <axboe@fb.com>
Mon, 1 May 2017 20:47:16 +0000 (14:47 -0600)
No reason not to output_sym CONFIG_GFIO, when all others do this.
Having CONFIG_GFIO in config-host.h doesn't harm anything.

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

index bcb898a835a857670afa5203db4cf923bbe50b88..d95d7cefaead266768d49b79ea399c382035b337 100755 (executable)
--- a/configure
+++ b/configure
@@ -161,8 +161,7 @@ for opt do
   ;;
   --build-static) build_static="yes"
   ;;
-  --enable-gfio)
-  gfio_check="yes"
+  --enable-gfio) gfio_check="yes"
   ;;
   --disable-numa) disable_numa="yes"
   ;;
@@ -2126,7 +2125,7 @@ if test "$rusage_thread" = "yes" ; then
   output_sym "CONFIG_RUSAGE_THREAD"
 fi
 if test "$gfio" = "yes" ; then
-  echo "CONFIG_GFIO=y" >> $config_host_mak
+  output_sym "CONFIG_GFIO"
 fi
 if test "$esx" = "yes" ; then
   output_sym "CONFIG_ESX"