AC_C_BIGENDIAN
AC_C_INLINE
-# EFL_CHECK_COMPILER_FLAGS([MY_LIB], [-Wall -Wextra])
+EFL_CHECK_COMPILER_FLAGS([EFL], [-Wall -Wextra -Wpointer-arith])
+case "${build_profile}" in
+ dev)
+ EFL_CHECK_COMPILER_FLAGS([EFL], [-Wshadow])
+ ;;
+
+ debug)
+ ;;
+
+ release)
+ ;;
+esac
#### Checks for linker characteristics
have_magic_debug="yes"
have_safety_checks="yes"
want_log="yes"
-case "$build_profile" in
+case "${build_profile}" in
dev)
with_max_log_level=""
have_stringshare_usage="no"
;;
esac
-CPPFLAGS="${CPPFLAGS} ${EFL_WINDOWS_VERSION_CFLAGS}"
+EFL_CFLAGS="${EFL_CFLAGS} ${EFL_WINDOWS_VERSION_CFLAGS}"
AC_SUBST([EFL_WINDOWS_VERSION_CFLAGS])
AC_SUBST([_efl_windows_version])
-DPACKAGE_BIN_DIR=\"$(bindir)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
+@EFL_CFLAGS@ \
@EET_CFLAGS@
if HAVE_WINDOWS
-I. \
-I$(top_srcdir)/src/lib/evil \
-I$(top_builddir)/src/lib/evil \
+@EFL_CFLAGS@ \
@EVIL_CPPFLAGS@
AM_CFLAGS = @EVIL_CFLAGS@
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
-DEFL_EET_BUILD \
+@EFL_CFLAGS@ \
@EET_CFLAGS@
if HAVE_WINDOWS
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DEFL_EINA_BUILD \
+@EFL_CFLAGS@ \
@EFL_PTHREAD_CFLAGS@ \
@EINA_CFLAGS@ \
@VALGRIND_CFLAGS@
-I$(top_builddir)/src/lib/eo \
-DNDEBUG \
-DEFL_EO_BUILD \
+@EFL_CFLAGS@ \
@EO_CFLAGS@
if HAVE_WINDOWS