aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-23 06:12:37 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-23 06:12:37 +0000
commit98de831563d2ecd829a61b95e4481722bdaa17e9 (patch)
tree0f6b39096fac2843aaa4d511f24b343c0da12013 /configure.ac
parentmerge: add version for Evil requirements (diff)
downloadefl-98de831563d2ecd829a61b95e4481722bdaa17e9.tar.gz
merge: move stuff
SVN revision: 78355
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac92
1 files changed, 46 insertions, 46 deletions
diff --git a/configure.ac b/configure.ac
index eb7f990819..ab83c9fc35 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,11 +176,48 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
#### Checks for header files
+# Common Checks (keep names sorted for ease of use):
+AC_HEADER_DIRENT
+AC_HEADER_TIME
+
+AC_CHECK_HEADERS([ \
+execinfo.h \
+inttypes.h \
+libgen.h \
+mcheck.h \
+netinet/in.h \
+siginfo.h \
+stdint.h \
+strings.h \
+sys/types.h \
+unistd.h \
+])
+
EFL_CHECK_PATH_MAX
#### Checks for types
+# wchar_t
+AC_CHECK_SIZEOF([wchar_t])
+EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
+AC_SUBST([EINA_SIZEOF_WCHAR_T])
+
+AC_CHECK_TYPES([siginfo_t], [], [],
+ [[
+#include <signal.h>
+#if HAVE_SIGINFO_H
+# include <siginfo.h>
+#endif
+ ]])
+
+# struct dirent
+
+AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
+ [[
+#include <dirent.h>
+ ]])
+
#### Checks for structures
@@ -208,35 +245,6 @@ AC_SUBST([lt_enable_auto_import])
#### Checks for library functions
-AC_FUNC_ALLOCA
-
-
-###################### EFL ######################
-
-prefer_assert="no"
-case "$build_profile" in
- dev|debug)
- prefer_assert="yes"
- ;;
-esac
-
-# Common Checks (keep names sorted for ease of use):
-AC_HEADER_DIRENT
-AC_HEADER_TIME
-
-AC_CHECK_HEADERS([ \
-execinfo.h \
-inttypes.h \
-libgen.h \
-mcheck.h \
-netinet/in.h \
-siginfo.h \
-stdint.h \
-strings.h \
-sys/types.h \
-unistd.h \
-])
-
AC_CHECK_FUNCS([\
backtrace \
backtrace_symbols \
@@ -249,25 +257,10 @@ openat \
strlcpy \
])
-# wchar_t
-AC_CHECK_SIZEOF([wchar_t])
-EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
-AC_SUBST([EINA_SIZEOF_WCHAR_T])
-AC_CHECK_TYPES([siginfo_t], [], [],
- [[
-#include <signal.h>
-#if HAVE_SIGINFO_H
-# include <siginfo.h>
-#endif
- ]])
-
-# struct dirent
+AC_FUNC_ALLOCA
-AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
- [[
-#include <dirent.h>
- ]])
+###################### EFL ######################
#### Evil
@@ -464,6 +457,13 @@ AM_CONDITIONAL([BUILD_TILER_EXAMPLE], [test "x${build_tiler_example}" = "xyes"])
## Tests
+prefer_assert="no"
+case "$build_profile" in
+ dev|debug)
+ prefer_assert="yes"
+ ;;
+esac
+
EFL_CHECK_TESTS(EINA)
## Benchmarks