X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=configure.ac;h=ca24ee79f7e25bb4c7ebb592236ac3b4691b0661;hp=b7bae8fff636572d158fb53fc4d9ac90dd35d227;hb=HEAD;hpb=7fcc5fd036543a81da2bbd5b2078c0a4b0314f9b diff --git a/configure.ac b/configure.ac index b7bae8ff..799df2f7 100644 --- a/configure.ac +++ b/configure.ac @@ -798,6 +798,11 @@ AC_SUBST(AM_CPPFLAGS) # Add glib to global link libs LIBS="$LIBS $GLIB_LIBS" +# Disable exceptions for the {fmt} library. This means, for example, that a +# format error will result in an assertion failure (instead of throwing an +# `fmt::format_error` exception). +AC_DEFINE_UNQUOTED([FMT_EXCEPTIONS], 0, [Disable {fmt} exceptions.]) + # Abuse autoconf's AC_ARG_PROGRAM output variable 'program_transform_name' # to rename babeltrace2.bin to babeltrace2 at install time. program_transform_name="s&babeltrace2\.bin&babeltrace2&;$program_transform_name" @@ -822,10 +827,6 @@ AC_CONFIG_FILES([ tests/bitfield/Makefile tests/ctf-writer/Makefile tests/lib/Makefile - tests/lib/conds/Makefile - tests/lib/test-plugin-init-fail-plugin/Makefile - tests/lib/test-plugins-plugins/Makefile - tests/lib/utils/Makefile tests/Makefile tests/param-validation/Makefile tests/plugins/Makefile