summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2011-08-31 12:09:17 +0200
committerPatrick Ohly <patrick.ohly@intel.com>2011-08-31 12:09:17 +0200
commitf7a148b54ae38f51e97a05ab224c6a9bf224777e (patch)
treedaccf995d641ff3b42e82c9178a1292d63ce675f /configure.ac
parent943a9b5e93d99789f9569559dfb3ff7486ac68ba (diff)
autotools: allow --enable-warnings=fatal
The previous set of "max" options included some which do not work with SyncEvolution source code. Reduced to the set which is expected to work. Also, allow sync-ui to use deprecated methods.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 677ed308..9aff767d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,10 +61,14 @@ dnl check for programs.
AC_PROG_CXX
AC_PROG_MAKE_SET
+# TODO: Fix code to pass with -pedantic -Wextra.
+# -Wno-unknown-pragmas needed because icalstrdup.h
+# currently uses the "#pragma }" trick. Should remove that.
+# Fix code to work without deprecated methods: G GDK GDK_PIXBUF CAIRO PANGO GTK
DK_ARG_ENABLE_WARNINGS([SYNCEVO_WFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra],
- [G GDK GDK_PIXBUF CAIRO PANGO GTK])
+ [-Wall -Wno-unknown-pragmas],
+ [])
dnl default device type (see AC_DEFINE below)
DEVICE_TYPE=workstation