removed '-pedantic' option for src/lib compilation to avoid build failure during
the inclusion of a Glib header file.
added -Wno-deprecated-deprecations option for src to avoid build failure due to new gthread deprecation warnings.
endif
endif
-AM_CPPFLAGS = -Wall -pedantic -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
+# -no-deprecated-declarations to avoid some glib deprecation warnings
+AM_CPPFLAGS = -Wno-deprecated-declarations -Wall -Werror -DDEFAULT_WWW_DIR=\""$(pkgdatadir)/www"\"\
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/unity \
$(GTK_CFLAGS)\
LIBS += $(LIBATIADL_LIBS)
AM_CPPFLAGS += $(LIBATIADL_CFLAGS)
libpsensor_a_SOURCES += amd.c
-else
-libpsensor_a_CFLAGS += -pedantic
endif
if GTOP