summaryrefslogtreecommitdiff
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
parente2fc0143f88746522328ff99fc74923e59d74a0f (diff)
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 eb7f990..ab83c9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -176,11 +176,48 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
176 176
177#### Checks for header files 177#### Checks for header files
178 178
179# Common Checks (keep names sorted for ease of use):
180AC_HEADER_DIRENT
181AC_HEADER_TIME
182
183AC_CHECK_HEADERS([ \
184execinfo.h \
185inttypes.h \
186libgen.h \
187mcheck.h \
188netinet/in.h \
189siginfo.h \
190stdint.h \
191strings.h \
192sys/types.h \
193unistd.h \
194])
195
179EFL_CHECK_PATH_MAX 196EFL_CHECK_PATH_MAX
180 197
181 198
182#### Checks for types 199#### Checks for types
183 200
201# wchar_t
202AC_CHECK_SIZEOF([wchar_t])
203EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
204AC_SUBST([EINA_SIZEOF_WCHAR_T])
205
206AC_CHECK_TYPES([siginfo_t], [], [],
207 [[
208#include <signal.h>
209#if HAVE_SIGINFO_H
210# include <siginfo.h>
211#endif
212 ]])
213
214# struct dirent
215
216AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
217 [[
218#include <dirent.h>
219 ]])
220
184 221
185#### Checks for structures 222#### Checks for structures
186 223
@@ -208,35 +245,6 @@ AC_SUBST([lt_enable_auto_import])
208 245
209#### Checks for library functions 246#### Checks for library functions
210 247
211AC_FUNC_ALLOCA
212
213
214###################### EFL ######################
215
216prefer_assert="no"
217case "$build_profile" in
218 dev|debug)
219 prefer_assert="yes"
220 ;;
221esac
222
223# Common Checks (keep names sorted for ease of use):
224AC_HEADER_DIRENT
225AC_HEADER_TIME
226
227AC_CHECK_HEADERS([ \
228execinfo.h \
229inttypes.h \
230libgen.h \
231mcheck.h \
232netinet/in.h \
233siginfo.h \
234stdint.h \
235strings.h \
236sys/types.h \
237unistd.h \
238])
239
240AC_CHECK_FUNCS([\ 248AC_CHECK_FUNCS([\
241backtrace \ 249backtrace \
242backtrace_symbols \ 250backtrace_symbols \
@@ -249,25 +257,10 @@ openat \
249strlcpy \ 257strlcpy \
250]) 258])
251 259
252# wchar_t 260AC_FUNC_ALLOCA
253AC_CHECK_SIZEOF([wchar_t])
254EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
255AC_SUBST([EINA_SIZEOF_WCHAR_T])
256AC_CHECK_TYPES([siginfo_t], [], [],
257 [[
258#include <signal.h>
259#if HAVE_SIGINFO_H
260# include <siginfo.h>
261#endif
262 ]])
263
264# struct dirent
265 261
266AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
267 [[
268#include <dirent.h>
269 ]])
270 262
263###################### EFL ######################
271 264
272 265
273#### Evil 266#### Evil
@@ -464,6 +457,13 @@ AM_CONDITIONAL([BUILD_TILER_EXAMPLE], [test "x${build_tiler_example}" = "xyes"])
464 457
465## Tests 458## Tests
466 459
460prefer_assert="no"
461case "$build_profile" in
462 dev|debug)
463 prefer_assert="yes"
464 ;;
465esac
466
467EFL_CHECK_TESTS(EINA) 467EFL_CHECK_TESTS(EINA)
468 468
469## Benchmarks 469## Benchmarks