X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=configure;h=4fb65e66a5bcef26dbcec9477b809a60620463fe;hb=61054f0d5c2ccb945c240704fc4bfa6a708eaf46;hp=1cc54da2376617344b12c03d99b3c7e38bd4fb91;hpb=95c2f38e08f135571a86f46d14291a4e0ff1c1d7;p=fio.git diff --git a/configure b/configure index 1cc54da2..4fb65e66 100755 --- a/configure +++ b/configure @@ -168,7 +168,9 @@ for opt do ;; --enable-libhdfs) libhdfs="yes" ;; - --disable-shm) output_sym "CONFIG_NO_SHM" + --disable-shm) no_shm="yes" + ;; + --disable-optimizations) disable_opt="yes" ;; --help) show_help="yes" @@ -193,6 +195,7 @@ if test "$show_help" = "yes" ; then echo "--disable-gfapi Disable gfapi" echo "--enable-libhdfs Enable hdfs support" echo "--disable-shm Disable SHM support" + echo "--disable-optimizations Don't enable compiler optimizations" exit $exit_val fi @@ -220,6 +223,14 @@ printf " '%s'" "$0" "$@" >> $config_host_mak echo >> $config_host_mak echo "CONFIG_TARGET_OS=$targetos" >> $config_host_mak +if test "$no_shm" = "yes" ; then + output_sym "CONFIG_NO_SHM" +fi + +if test "$disable_opt" = "yes" ; then + output_sym "CONFIG_FIO_NO_OPT" +fi + # Some host OSes need non-standard checks for which CPU to use. # Note that these checks are broken for cross-compilation: if you're # cross-compiling to one of these OSes then you'll need to specify