[commit: packages/unix] master: Update configure.ac (eb5fc94)
git at git.haskell.org
git at git.haskell.org
Wed Jul 19 22:05:05 UTC 2017
Repository : ssh://git@git.haskell.org/unix
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/eb5fc942f8f570e754bba0f57a8fdaec3400194f/unix
>---------------------------------------------------------------
commit eb5fc942f8f570e754bba0f57a8fdaec3400194f
Author: Moritz Angermann <moritz.angermann at gmail.com>
Date: Thu May 11 09:44:20 2017 +0800
Update configure.ac
Add Comment
>---------------------------------------------------------------
eb5fc942f8f570e754bba0f57a8fdaec3400194f
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index b23caef..c23c9e1 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
More information about the ghc-commits
mailing list