From: Tiziano Müller Date: Thu, 26 Jun 2014 12:20:20 +0000 (+0200) Subject: Add configure flags for gfapi and rbd X-Git-Tag: fio-2.1.11~48 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ce18290e3fe485152ed3767ec49709884832a501;hp=5964842c93e0070c0e8230b0128263bc127a4fcd Add configure flags for gfapi and rbd Add --disable-{gfapi,rbd} to disable gfapi/rbd support even if available. Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 0e861eef..f1e116e4 100755 --- a/configure +++ b/configure @@ -156,6 +156,10 @@ for opt do ;; --disable-numa) disable_numa="yes" ;; + --disable-rbd) disable_rbd="yes" + ;; + --disable-gfapi) disable_gfapi="yes" + ;; --help) show_help="yes" ;; @@ -1146,7 +1150,7 @@ int main(int argc, char **argv) return 0; } EOF -if compile_prog "" "-lrbd -lrados" "rbd"; then +if test "$disable_rbd" != "yes" && compile_prog "" "-lrbd -lrados" "rbd"; then LIBS="-lrbd -lrados $LIBS" rbd="yes" fi @@ -1183,7 +1187,7 @@ int main(int argc, char **argv) return 0; } EOF -if compile_prog "" "-lgfapi -lglusterfs" "gfapi"; then +if test "$disable_gfapi" != "yes" && compile_prog "" "-lgfapi -lglusterfs" "gfapi"; then LIBS="-lgfapi -lglusterfs $LIBS" gfapi="yes" fi