merge: move stuff

SVN revision: 78355
This commit is contained in:
Vincent Torri 2012-10-23 06:12:37 +00:00
parent e2fc0143f8
commit 98de831563
1 changed files with 46 additions and 46 deletions

View File

@ -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
]])
AC_FUNC_ALLOCA
# struct dirent
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