summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorArnaud Vrac <avrac@freebox.fr>2013-09-20 17:14:18 +0200
committerTim-Philipp Müller <tim@centricular.net>2013-09-20 16:34:38 +0100
commit865aa20fe4b63fe6da45b1ac924c27f7ca16af13 (patch)
tree868b09db18ee2d53623f869e6c08818b17e1f562 /m4
parent6b03ba716b9861277a435677ad9e31b3e14284e9 (diff)
gst-glib2.m4: allow toggling cast check and assertions explicitly
https://bugzilla.gnome.org/show_bug.cgi?id=708466
Diffstat (limited to 'm4')
-rw-r--r--m4/gst-glib2.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gst-glib2.m4 b/m4/gst-glib2.m4
index 0b92734..3af5547 100644
--- a/m4/gst-glib2.m4
+++ b/m4/gst-glib2.m4
@@ -34,7 +34,7 @@ AC_DEFUN([AG_GST_GLIB_CHECK],
AC_ARG_ENABLE(gobject-cast-checks,
AS_HELP_STRING([--enable-gobject-cast-checks[=@<:@no/auto/yes@:>@]],
- [Enable GObject cast checks]),,
+ [Enable GObject cast checks]),[enable_gobject_cast_checks=$enableval],
[enable_gobject_cast_checks=auto])
if test "x$enable_gobject_cast_checks" = "xauto"; then
@@ -52,7 +52,7 @@ AC_DEFUN([AG_GST_GLIB_CHECK],
AC_ARG_ENABLE(glib-asserts,
AS_HELP_STRING([--enable-glib-asserts[=@<:@no/auto/yes@:>@]],
- [Enable GLib assertion]),,
+ [Enable GLib assertion]),[enable_glib_assertions=$enableval],
[enable_glib_assertions=auto])
if test "x$enable_glib_assertions" = "xauto"; then