-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = \
+ $(ERROR_INTROSPECTION_SCANNER_ARGS) \
--add-include-path=$(srcdir) \
--warn-all \
$(NULL)
-if !FOLKS_RELEASED
-INTROSPECTION_SCANNER_ARGS += --warn-error
-endif
-
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
CLEANFILES =
FOLKS_MAJOR_MINOR_VERSION=folks_major_minor_version
AC_SUBST([FOLKS_MAJOR_MINOR_VERSION])
-AM_CONDITIONAL([FOLKS_RELEASED], [test folks_released = 1])
-
# -----------------------------------------------------------
# Dependencies
# -----------------------------------------------------------
m4_if(folks_released, [1], [],
[
+ ERROR_INTROSPECTION_SCANNER_ARGS="$ERROR_INTROSPECTION_SCANNER_ARGS \
+ --warn-error"
if test x$werror = xyes; then
ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
fi
AS_COMPILER_FLAG([-Wstrict-prototypes], [ERROR_CFLAGS="$ERROR_CFLAGS \
-Wstrict-prototypes"])
+AC_SUBST([ERROR_INTROSPECTION_SCANNER_ARGS])
AC_SUBST([ERROR_CFLAGS])
# -----------------------------------------------------------