Mercurial > hg > xmms-sid
comparison configure.ac @ 933:6820177eb6da
Properly check for things like off_t and size_t and few libc functions, just to
be safe.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 01:47:29 +0200 |
parents | 5deb09a95b74 |
children | 1b346fa44c05 |
comparison
equal
deleted
inserted
replaced
932:7c62e686b6a4 | 933:6820177eb6da |
---|---|
57 | 57 |
58 dnl *** | 58 dnl *** |
59 dnl *** Checks for header files, types and functions | 59 dnl *** Checks for header files, types and functions |
60 dnl *** | 60 dnl *** |
61 AC_HEADER_STDC | 61 AC_HEADER_STDC |
62 AC_C_INLINE | |
63 AC_C_CONST | |
62 AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) | 64 AC_CHECK_HEADERS([stdlib.h string.h unistd.h]) |
63 | 65 |
66 AC_TYPE_OFF_T | |
64 AC_TYPE_SIZE_T | 67 AC_TYPE_SIZE_T |
65 AC_C_CONST | 68 AC_FUNC_FSEEKO |
66 AC_C_INLINE | 69 dnl XS_CHECK_FEATURE([ac_cv_sys_largefile_source], [fseeko/ftello]) |
67 AC_CHECK_FUNCS([memset],[],[[*** memset function not found. Your libc has failed you.]]) | 70 AC_CHECK_FUNCS([memset]) |
71 XS_CHECK_FEATURE([ac_cv_func_memset], [memset]) | |
72 AC_CHECK_FUNCS([bsearch]) | |
73 XS_CHECK_FEATURE([ac_cv_func_bsearch], [bsearch]) | |
68 | 74 |
69 | 75 |
70 dnl *** | 76 dnl *** |
71 dnl *** Enable debugging | 77 dnl *** Enable debugging |
72 dnl *** | 78 dnl *** |