diff --git a/configure.ac b/configure.ac index 32f7174d375c33cf799b1a6e297b38676bc2dc36..b23caef5f7c0b8526347dab0d0a749def7628573 100644 --- a/configure.ac +++ b/configure.ac @@ -73,7 +73,8 @@ AC_CHECK_FUNCS([utimensat futimens]) AC_CHECK_FUNCS([lutimes futimes]) # Additional temp functions -AC_CHECK_FUNCS([mkstemps mkdtemp]) +dnl androids bionic doesn't have mkstemps +AS_CASE([$target_os],[*-android*],[AC_CHECK_FUNCS([mkdtemp])],[AC_CHECK_FUNCS([mkstemps mkdtemp])]) # Functions for file synchronization and allocation control AC_CHECK_FUNCS([fsync])