summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-07-21 15:51:39 +0100
committerTom Hacohen <tom@stosb.com>2014-07-21 16:53:14 +0100
commit6030b9de79a3403d42a01432b67e0fa7a3948149 (patch)
treeb1cccd8a7768e3515fc4c3be7938853b96e464b4 /configure.ac
parente797e40478e3a5ea701f9696522ee76a1385ce94 (diff)
Configure.ac: Free up the "efl" name for usage.
At the moment we use the fake "efl" library as a dependency for everything and use it as a way to have global cflags and lib deps. This is bad as we'd like to have a "real" libefl. I changed EFL to EFLALL as the new name. Easy to change to something else if anyone finds this name lacking. It's internal.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index c665cfdc79..1df6022f6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,10 +146,10 @@ EFL_WITH_BIN_SUFFIX([elua], [elua], [_bin])
146 146
147#### Default values 147#### Default values
148 148
149requirements_pc_efl="" 149requirements_pc_eflall=""
150requirements_pc_deps_efl="" 150requirements_pc_deps_eflall=""
151requirements_libs_efl="" 151requirements_libs_eflall=""
152requirements_cflags_efl="" 152requirements_cflags_eflall=""
153 153
154requirements_pc_crypto="" 154requirements_pc_crypto=""
155requirements_pc_deps_crypto="" 155requirements_pc_deps_crypto=""
@@ -424,8 +424,8 @@ AC_CHECK_TYPES([siginfo_t], [], [],
424 424
425AC_C_BIGENDIAN 425AC_C_BIGENDIAN
426AC_C_INLINE 426AC_C_INLINE
427EFL_CHECK_COMPILER_FLAGS([EFL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections]) 427EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
428EFL_CHECK_LINKER_FLAGS([EFL], [-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries]) 428EFL_CHECK_LINKER_FLAGS([EFLALL], [-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])
429case "${build_profile}" in 429case "${build_profile}" in
430 dev) 430 dev)
431 dnl Check if compiler has a dodgy -Wshadow that emits errors when shadowing a global 431 dnl Check if compiler has a dodgy -Wshadow that emits errors when shadowing a global
@@ -433,7 +433,7 @@ case "${build_profile}" in
433 CFLAGS_save="${CFLAGS}" 433 CFLAGS_save="${CFLAGS}"
434 CFLAGS="${CFLAGS} -Werror -Wshadow" 434 CFLAGS="${CFLAGS} -Werror -Wshadow"
435 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int x;]], [[int x = 0; (void)x;]])],[AC_MSG_RESULT([no]) 435 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[int x;]], [[int x = 0; (void)x;]])],[AC_MSG_RESULT([no])
436 EFL_CHECK_COMPILER_FLAGS([EFL], [-Wshadow])],[AC_MSG_RESULT([yes])]) 436 EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wshadow])],[AC_MSG_RESULT([yes])])
437 CFLAGS="${CFLAGS_save}" 437 CFLAGS="${CFLAGS_save}"
438 ;; 438 ;;
439 439
@@ -578,7 +578,7 @@ pause \
578 578
579AC_FUNC_ALLOCA 579AC_FUNC_ALLOCA
580 580
581EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday dirfd fcntl]) 581EFL_CHECK_FUNCS([EFLALL], [fnmatch gettimeofday dirfd fcntl])
582 582
583have_atfile_source="${ac_cv_func_fstatat}" 583have_atfile_source="${ac_cv_func_fstatat}"
584AC_DEFINE_IF([HAVE_ATFILE_SOURCE], 584AC_DEFINE_IF([HAVE_ATFILE_SOURCE],