configure: work harder to ensure mkostemp usability

Closes #2952.
This commit is contained in:
David Adam 2016-04-21 22:33:29 +08:00
parent 413ac86da2
commit 0e7ab7a7d0

View file

@ -522,10 +522,12 @@ AC_STRUCT_DIRENT_D_TYPE
AC_CHECK_FUNCS( wcsdup wcsndup wcslen wcscasecmp wcsncasecmp fwprintf )
AC_CHECK_FUNCS( futimes wcwidth wcswidth wcstok fputwc fgetwc )
AC_CHECK_FUNCS( wcstol wcslcat wcslcpy lrand48_r killpg mkostemp )
AC_CHECK_FUNCS( wcstol wcslcat wcslcpy lrand48_r killpg )
AC_CHECK_FUNCS( backtrace backtrace_symbols_fd sysconf getifaddrs )
AC_CHECK_FUNCS( futimens clock_gettime )
AC_CHECK_DECL( [mkostemp], [ AC_CHECK_FUNCS([mkostemp]) ] )
if test x$local_gettext != xno; then
AC_CHECK_FUNCS( gettext dcgettext )