summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-01-23 01:19:46 +0100
committerGravatar Nikias Bassen2019-01-23 01:19:46 +0100
commita808accd1e748184933f0e4d97d499d79f34f889 (patch)
tree6635f67416e121c0ca9bb1b1feef3758c47b8a8a /configure.ac
parente0b44cfb99c7e400c0fc51474f240dba3facd412 (diff)
downloadidevicerestore-a808accd1e748184933f0e4d97d499d79f34f889.tar.gz
idevicerestore-a808accd1e748184933f0e4d97d499d79f34f889.tar.bz2
Replace tempnam() with mkstemp() and provide reference implementation for systems lacking it
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 94a9a79..c67c0ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ case "$host_os" in
;;
esac
-AC_CHECK_FUNCS([strsep strcspn])
+AC_CHECK_FUNCS([strsep strcspn mkstemp])
if test x$ac_cv_func_strsep != xyes; then
if test x$ac_cv_func_strcspn != xyes; then
AC_MSG_ERROR([You need either strsep or strcspn to build $PACKAGE])