aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 09:09:36 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 10:20:49 (GMT)
commitc12d860bd3162706d7a39f37887826063680c04d (patch)
tree889f8cc9677b9731a00cbe17de2e7d605ea8f960 /configure.ac
parent16c8f03b7cd32dd040af1771411c9a906af94fe8 (diff)
Enable warnings when building Camorama
There are lots of warnings that are disabled when building camorama. Enable them, as they may show real bugs. Yet, as we still have lots of such warnings, don't threat warnings as errors. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0bfc198..25577b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,9 @@ AM_PROG_CC_STDC
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/ioctl.h unistd.h linux/videodev.h png.h glade/glade.h])
-GNOME_COMPILE_WARNINGS
+# Don't assume that gcc warnings are errors
+AX_IS_RELEASE(always)
+AX_COMPILER_FLAGS([WARN_CFLAGS],[WARN_LDFLAGS])
AC_ARG_ENABLE(gtk3, [AC_HELP_STRING([--enable-gtk3], [Compile against GTK 3.x instead of GTK 2.x])], [enable_gtk3=$enableval], [enable_gtk3="no"])

Privacy Policy