aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-26 06:57:11 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-26 06:57:11 +0000
commit124e0d4afdff0937d8be8014f4dea5f78aa9f76f (patch)
treee62a139defd1608357e0cf4700b1dae285b31285 /configure.ac
parentembryo: even more simplifications (diff)
downloadefl-124e0d4afdff0937d8be8014f4dea5f78aa9f76f.tar.gz
merge: add a holdall variable
SVN revision: 78503
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index ea49b5406e..a99357b351 100644
--- a/configure.ac
+++ b/configure.ac
@@ -298,7 +298,18 @@ AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
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
@@ -402,7 +413,7 @@ AC_MSG_NOTICE([Eina checks])
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"