configure: Enable poisoning by default for non-release builds
authorSebastian Dröge <sebastian@centricular.com>
Fri, 3 Aug 2018 10:18:12 +0000 (13:18 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 3 Aug 2018 11:31:34 +0000 (14:31 +0300)
configure.ac

index e134569..14ab051 100644 (file)
@@ -247,7 +247,7 @@ AC_ARG_ENABLE(poisoning,
       *)   AC_MSG_ERROR(bad value ${enableval} for --enable-poisoning) ;;
     esac
   ],
-  [USE_POISONING=no]) dnl Default value
+  [USE_POISONING=$GST_GIT]) dnl Default value
 if test "x$USE_POISONING" = xyes; then
   AC_DEFINE(USE_POISONING, 1,
     [Define if we should poison deallocated memory])