summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--src/Makefile.am9
2 files changed, 9 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index dbb7c19..938ed96 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,8 @@ AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+MATE_COMPILE_WARNINGS
+
###########################
# Dependencies
###########################
@@ -308,6 +310,7 @@ AC_MSG_NOTICE([
Indicator Applet Configuration:
Prefix: $prefix
+ Warning cflags: ${WARN_CFLAGS}
Indicator implementation: $indicator_implementation
Indicator NG support: $have_indicator_ng
Indicator Directory: $INDICATORDIR
diff --git a/src/Makefile.am b/src/Makefile.am
index e60f286..2f402aa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -25,7 +25,8 @@ mate_indicator_applet_CFLAGS = \
-DINDICATOR_APPLET \
-I$(srcdir)/.. \
$(APPLET_CFLAGS) \
- $(INDICATOR_CFLAGS)
+ $(INDICATOR_CFLAGS) \
+ $(WARN_CFLAGS)
mate_indicator_applet_SOURCES = \
applet-main.c \
@@ -47,7 +48,8 @@ mate_indicator_applet_appmenu_CFLAGS = \
-DINDICATOR_APPLET_APPMENU \
-I$(srcdir)/.. \
$(APPLET_CFLAGS) \
- $(INDICATOR_CFLAGS)
+ $(INDICATOR_CFLAGS) \
+ $(WARN_CFLAGS)
mate_indicator_applet_appmenu_SOURCES = \
applet-main.c \
@@ -69,7 +71,8 @@ mate_indicator_applet_complete_CFLAGS = \
-DINDICATOR_APPLET_COMPLETE \
-I$(srcdir)/.. \
$(APPLET_CFLAGS) \
- $(INDICATOR_CFLAGS)
+ $(INDICATOR_CFLAGS) \
+ $(WARN_CFLAGS)
mate_indicator_applet_complete_SOURCES = \
applet-main.c \