Lines Matching +full:- +full:- +full:enable +full:- +full:warnings
3 # SPDX-License-Identifier: MIT or GPL-2.0-only
6 m4_esyscmd(utils/genver.sh | tr -d '\n'),
19 AM_INIT_AUTOMAKE([foreign subdir-objects])
43 [*g++*], [ENABLE_CORO_FLAG="-fcoroutines"],
50 dnl --enable-gcc-warnings to turn on GCC warnings (for developers).
51 AC_ARG_ENABLE([gcc-warnings],
52 [AS_HELP_STRING([--enable-gcc-warnings],
53 [turn on lots of GCC warnings (for developers)])],
56 *) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
62 # Enable normal GCC warnings and a few more:
63 # - Warn about variable length arrays on stack.
64 # - Warn about large stack frames (since we may be used from threads).
66 # TODO: Address 'sign-compare' errors and remove -Wno-sign-compare
67 # TODO: Address 'parentheses' errors and remove -Wno-parentheses
68 …WARNINGS_CFLAGS="-Wall -Werror -Wuninitialized -Wmaybe-uninitialized -Wno-sign-compare -Wno-parent…
70 [-Wvla -Wframe-larger-than=5000 -Wstack-usage=10000],
71 [$CFLAGS -Werror])
77 AS_HELP_STRING([--enable-debug],[Build a debug version of ublk(default disabled)]),
101 #gnutls is only for nbd target, borrowed from nbd-client project
103 [AS_HELP_STRING([--without-gnutls],
113 AC_MSG_ERROR([--with-gnutls given but cannot find gnutls])
127 …AS_HELP_STRING([--enable-sdp],[Build a version of nbd-server with support for the Socket Direct Pr…
137 AS_HELP_STRING([--disable-lfs],[Disable Large File Support (default on)]),
148 if test $NBD_LFS -eq 1; then
156 ublk_control=/dev/ublk-control
159 …[AS_HELP_STRING([--with-ublk_control], [Set the ublk control device. Defaults to /dev/ublk-control…
168 …[AS_HELP_STRING([--with-ublkc_prefix], [Set the directory prefix for ublkc devices. Defaults to /d…
175 if test -z "$DOXYGEN"; then
176 AC_MSG_WARN([Doxygen not found - continue without Doxygen support])
178 AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])