diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2012-10-23 06:12:37 +0000 |
---|---|---|
committer | Vincent Torri <vincent.torri@gmail.com> | 2012-10-23 06:12:37 +0000 |
commit | 98de831563d2ecd829a61b95e4481722bdaa17e9 (patch) | |
tree | 0f6b39096fac2843aaa4d511f24b343c0da12013 /configure.ac | |
parent | e2fc0143f88746522328ff99fc74923e59d74a0f (diff) |
merge: move stuff
SVN revision: 78355
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 92 |
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"]) | |||
176 | 176 | ||
177 | #### Checks for header files | 177 | #### Checks for header files |
178 | 178 | ||
179 | # Common Checks (keep names sorted for ease of use): | ||
180 | AC_HEADER_DIRENT | ||
181 | AC_HEADER_TIME | ||
182 | |||
183 | AC_CHECK_HEADERS([ \ | ||
184 | execinfo.h \ | ||
185 | inttypes.h \ | ||
186 | libgen.h \ | ||
187 | mcheck.h \ | ||
188 | netinet/in.h \ | ||
189 | siginfo.h \ | ||
190 | stdint.h \ | ||
191 | strings.h \ | ||
192 | sys/types.h \ | ||
193 | unistd.h \ | ||
194 | ]) | ||
195 | |||
179 | EFL_CHECK_PATH_MAX | 196 | EFL_CHECK_PATH_MAX |
180 | 197 | ||
181 | 198 | ||
182 | #### Checks for types | 199 | #### Checks for types |
183 | 200 | ||
201 | # wchar_t | ||
202 | AC_CHECK_SIZEOF([wchar_t]) | ||
203 | EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t | ||
204 | AC_SUBST([EINA_SIZEOF_WCHAR_T]) | ||
205 | |||
206 | AC_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 | |||
216 | AC_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 | ||
211 | AC_FUNC_ALLOCA | ||
212 | |||
213 | |||
214 | ###################### EFL ###################### | ||
215 | |||
216 | prefer_assert="no" | ||
217 | case "$build_profile" in | ||
218 | dev|debug) | ||
219 | prefer_assert="yes" | ||
220 | ;; | ||
221 | esac | ||
222 | |||
223 | # Common Checks (keep names sorted for ease of use): | ||
224 | AC_HEADER_DIRENT | ||
225 | AC_HEADER_TIME | ||
226 | |||
227 | AC_CHECK_HEADERS([ \ | ||
228 | execinfo.h \ | ||
229 | inttypes.h \ | ||
230 | libgen.h \ | ||
231 | mcheck.h \ | ||
232 | netinet/in.h \ | ||
233 | siginfo.h \ | ||
234 | stdint.h \ | ||
235 | strings.h \ | ||
236 | sys/types.h \ | ||
237 | unistd.h \ | ||
238 | ]) | ||
239 | |||
240 | AC_CHECK_FUNCS([\ | 248 | AC_CHECK_FUNCS([\ |
241 | backtrace \ | 249 | backtrace \ |
242 | backtrace_symbols \ | 250 | backtrace_symbols \ |
@@ -249,25 +257,10 @@ openat \ | |||
249 | strlcpy \ | 257 | strlcpy \ |
250 | ]) | 258 | ]) |
251 | 259 | ||
252 | # wchar_t | 260 | AC_FUNC_ALLOCA |
253 | AC_CHECK_SIZEOF([wchar_t]) | ||
254 | EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t | ||
255 | AC_SUBST([EINA_SIZEOF_WCHAR_T]) | ||
256 | AC_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 | ||
266 | AC_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 | ||
460 | prefer_assert="no" | ||
461 | case "$build_profile" in | ||
462 | dev|debug) | ||
463 | prefer_assert="yes" | ||
464 | ;; | ||
465 | esac | ||
466 | |||
467 | EFL_CHECK_TESTS(EINA) | 467 | EFL_CHECK_TESTS(EINA) |
468 | 468 | ||
469 | ## Benchmarks | 469 | ## Benchmarks |