diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 00c4c0c62c..c509743e77 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2008-12-05 Ralf Corsépius + * configure.ac: Check for functions in newlib. * posix/Makefile.am: Unconditionally compile files which now are in newlib. * libcsupport/Makefile.am: Unconditionally compile files which now diff --git a/cpukit/configure.ac b/cpukit/configure.ac index a6d6f92858..4288faa32a 100644 --- a/cpukit/configure.ac +++ b/cpukit/configure.ac @@ -52,11 +52,18 @@ AC_CHECK_FUNCS([strdup strndup strncasecmp]) AC_CHECK_FUNCS([bcopy bcmp]) AC_CHECK_FUNCS([isascii fileno]) -# Newlib's posix directory -AC_CHECK_FUNCS([opendir closedir readdir rewinddir scandir seekdir telldir isatty]) +# +# Check for functions supplied by newlib >= 1.17.0 +# Newlib's posix/ directory +AC_CHECK_FUNCS([sleep usleep \ + opendir closedir readdir readdir_r \ + rewinddir scandir seekdir telldir isatty]) +AC_CHECK_FUNCS([execl execlp execle execv execvp execve]) +AC_CHECK_FUNCS([regcomp regexec regerror regfree]) # Newlib's unix/ directory AC_CHECK_FUNCS([ttyname getcwd]) +# ## Check if the installed toolchain has these headers AC_CHECK_HEADER([tar.h])