diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-15 10:47:21 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-05-15 10:47:21 +0200 |
commit | 098c0d7432be323d631b95b5d35f6f0840bf21bd (patch) | |
tree | c06aa3845713b56dcba0d339cca964b8596c301d /m4 | |
parent | f5dc66fe1e4f4f2f3aac49bde9afec9aa67c0169 (diff) |
gst-glib2.m4: Also enable extra checks for development release (e.g. 1.1.x) and not only for GIT versions
Diffstat (limited to 'm4')
-rw-r--r-- | m4/gst-glib2.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/gst-glib2.m4 b/m4/gst-glib2.m4 index b80be0b..9a3a923 100644 --- a/m4/gst-glib2.m4 +++ b/m4/gst-glib2.m4 @@ -28,7 +28,7 @@ AC_DEFUN([AG_GST_GLIB_CHECK], GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY" dnl Define G_DISABLE_DEPRECATED for GIT versions - if test "x$PACKAGE_VERSION_NANO" = "x1"; then + if test "x$PACKAGE_VERSION_NANO" = "x1" -o "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1"; then GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED" fi @@ -39,7 +39,7 @@ AC_DEFUN([AG_GST_GLIB_CHECK], if test "x$enable_gobject_cast_checks" = "xauto"; then dnl For releases, turn off the cast checks - if test "x$PACKAGE_VERSION_NANO" = "x1"; then + if test "x$PACKAGE_VERSION_NANO" = "x1" -o "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1"; then enable_gobject_cast_checks=yes else enable_gobject_cast_checks=no @@ -57,7 +57,7 @@ AC_DEFUN([AG_GST_GLIB_CHECK], if test "x$enable_glib_assertions" = "xauto"; then dnl For releases, turn off the assertions - if test "x$PACKAGE_VERSION_NANO" = "x1"; then + if test "x$PACKAGE_VERSION_NANO" = "x1" -o "x`expr $PACKAGE_VERSION_MINOR % 2`" = "x1"; then enable_glib_assertions=yes else enable_glib_assertions=no |