X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=850e814f21cbe3601441f3f625a712290b7d3015;hp=f518f89af154933ffaa64401ba1086b7e3f369c9;hb=b287a53fa3e3dffb51febedebff6efb0d1065c2c;hpb=267c322e02364c331f523ce16bdadb46fd3449f8 diff --git a/configure.ac b/configure.ac index f518f89a..850e814f 100644 --- a/configure.ac +++ b/configure.ac @@ -373,6 +373,11 @@ AC_CHECK_HEADER(samplerate.h, [], HAVE_SAMPLERATE=no) AC_CHECK_LIB([samplerate], [src_process], [], HAVE_SAMPLERATE=no) LIB_SUBST_FLAGS(samplerate) UNSTASH_FLAGS +######################################################################### ubsan +AC_ARG_ENABLE([ubsan], [AS_HELP_STRING(--enable-ubsan, + [Detect and report undefined behaviour.])], + [ENABLE_UBSAN=yes], [ENABLE_UBSAN=no]) +AC_SUBST(ENABLE_UBSAN) ######################################################################### server if test -n "$CRYPTOLIB" && test $HAVE_OSL = yes && test -n "$BISON" && \ test -n "$FLEX"; then