summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2013-10-21 17:29:09 +0200
committerinfirit <[email protected]>2013-10-21 17:30:08 +0200
commitca9f84d88073cb5eac19716dd2a55b88600891b5 (patch)
treecdbd7f075bed983f5414299f833672b2ac495c04 /configure.ac
parent4faae133cefe118792509638d2d7284993d2091b (diff)
downloadmate-media-ca9f84d88073cb5eac19716dd2a55b88600891b5.tar.bz2
mate-media-ca9f84d88073cb5eac19716dd2a55b88600891b5.tar.xz
just use MATE_COMPILE_WARNINGS(maximum) and remove custom macros
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index d7b068d..55beeac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,15 +44,7 @@ AC_PROG_GCC_TRADITIONAL
AC_FUNC_MMAP
# CFLAGS
-MATE_COMPILE_WARNINGS
-
-AS_COMPILER_FLAG(-Wall, GM_ERROR_CFLAGS="-Wall")
-
-if test "x$GM_RELEASE" = "xno"
-then
- AS_COMPILER_FLAG(-Werror, GM_ERROR_CFLAGS="$GM_ERROR_CFLAGS -Werror")
-fi
-AC_MSG_NOTICE([Using $GM_ERROR_CFLAGS as error checking CFLAGS])
+MATE_COMPILE_WARNINGS(maximum)
GLIB_REQUIRED_VERSION=2.18.2
GIO_REQUIRED_VERSION=2.25.0