diff --git a/configure.ac b/configure.ac
index b23caef5f7c0b8526347dab0d0a749def7628573..c23c9e1c9516d45dc50aefac59dbebd49559d02d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,6 +74,8 @@ AC_CHECK_FUNCS([lutimes futimes])
 
 # Additional temp functions
 dnl androids bionic doesn't have mkstemps
+# We explicilty check for android, as the check AC_CHECK_FUNCS performs returns "yes" for mkstemps
+# when targetting android. See similar conditionals for seekdir and telldir.
 AS_CASE([$target_os],[*-android*],[AC_CHECK_FUNCS([mkdtemp])],[AC_CHECK_FUNCS([mkstemps mkdtemp])])
 
 # Functions for file synchronization and allocation control