1 --- a/config-site-generator/configure.ac
2 +++ b/config-site-generator/configure.ac
3 @@ -23,6 +23,7 @@ AC_DEFUN([AC_MSG_ERROR], [
4 test -e conftest.dir && rm -rf conftest.dir ])
11 @@ -52,9 +53,11 @@ AC_PROG_LEX
21 # Checks for system services.
23 @@ -118,6 +121,8 @@ sys/ucontext.h sys/uio.h sys/un.h sys/us
24 sys/wait.h sys/xattr.h tar.h termios.h tgmath.h time.h ucontext.h ulimit.h \
25 unistd.h utime.h utmp.h utmpx.h wchar.h wctype.h wordexp.h
28 +AC_CHECK_HEADERS([sys/cdefs.h])
30 # Checks for typedefs, structures, and compiler characteristics.
32 @@ -217,6 +222,16 @@ AC_FUNC_STRTOLD
36 +AC_CHECK_SIZEOF(short)
38 +AC_CHECK_SIZEOF(long)
39 +AC_CHECK_SIZEOF(long long)
40 +AC_CHECK_SIZEOF(unsigned int)
41 +AC_CHECK_SIZEOF(unsigned long)
42 +AC_CHECK_SIZEOF(unsigned long long)
43 +AC_CHECK_SIZEOF(off_t)
44 +AC_CHECK_SIZEOF(size_t)
46 # Functions list scraped from musl 0.9.4 x86_64
48 a64l abort abs accept access acos acosf acosh acoshf acoshl acosl addmntent \