summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2017-02-28 01:26:06 +0000
committerJunio C Hamano <gitster@pobox.com>2017-02-28 11:54:21 -0800
commitb2d593a7797f4f9452e46f722e181604a5582897 (patch)
tree9e49c52ad35ac1da1824a4d2563f00117018e30e /configure.ac
parent34de5e4bb0dfe1c05b57c733c2196f1ad3881a98 (diff)
downloadgit-b2d593a7797f4f9452e46f722e181604a5582897.tar.gz
wrapper.c: remove unused gitmkstemps() functionrj/remove-unused-mktemp
The last call to the mkstemps() function was removed in commit 659488326 ("wrapper.c: delete dead function git_mkstemps()", 22-04-2016). In order to support platforms without mkstemps(), this functionality was provided, along with a Makefile build variable (NO_MKSTEMPS), by the gitmkstemps() function. Remove the dead code, along with the defunct build machinery. Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 0 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 0b15f04b10..128165529f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1050,12 +1050,6 @@ GIT_CHECK_FUNC(mkdtemp,
[NO_MKDTEMP=YesPlease])
GIT_CONF_SUBST([NO_MKDTEMP])
#
-# Define NO_MKSTEMPS if you don't have mkstemps in the C library.
-GIT_CHECK_FUNC(mkstemps,
-[NO_MKSTEMPS=],
-[NO_MKSTEMPS=YesPlease])
-GIT_CONF_SUBST([NO_MKSTEMPS])
-#
# Define NO_INITGROUPS if you don't have initgroups in the C library.
GIT_CHECK_FUNC(initgroups,
[NO_INITGROUPS=],