mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
{fwrite,fputs,fputc}_unlocked() are not in POSIX.
Define fwrite_unlocked(), fputs_unlocked() and fputc_unlocked() only if they are available on the system.
This commit is contained in:
@@ -56,6 +56,8 @@ AC_FUNC_FORK
|
||||
AC_CHECK_FUNCS([memmove setenv],
|
||||
[],[AC_MSG_ERROR([function is required])])
|
||||
AC_CHECK_FUNCS([execvpe])
|
||||
dnl These are not in POSIX.
|
||||
AC_CHECK_FUNCS([fwrite_unlocked fputs_unlocked fputc_unlocked])
|
||||
|
||||
dnl Thanks to gperftools' configure.ac (https://code.google.com/p/gperftools).
|
||||
AC_MSG_CHECKING([for __builtin_expect])
|
||||
|
||||
Reference in New Issue
Block a user