From: Guido Ostkamp Date: Fri, 16 Nov 2007 18:59:58 +0000 (+0100) Subject: Use compat mkdtemp() on Solaris boxes X-Git-Tag: v1.5.4-rc0~189 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4e0da76318c44436286eeeca2b711d82c1098493;p=git.git Use compat mkdtemp() on Solaris boxes Define NO_MKDTEMP for all variants of SunOS; Solaris 10 does not have mkdtemp() and all the other versions our Makefile knows about don't have it either. NO_{SETENV,UNSETENV,C99_FORMAT,STRTOUMAX} definitions cannot be unified across versions. Beginning with Solaris 10, the C-library provides unsetenv(), setenv() and strtoumax(). Also 'z'/'t' formats are supported. However, older versions of Solaris do not support these. Signed-off-by: Guido Ostkamp Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index e830bc744..cabde8177 100644 --- a/Makefile +++ b/Makefile @@ -416,18 +416,17 @@ ifeq ($(uname_S),SunOS) NO_STRCASESTR = YesPlease NO_MEMMEM = YesPlease NO_HSTRERROR = YesPlease + NO_MKDTEMP = YesPlease ifeq ($(uname_R),5.8) NEEDS_LIBICONV = YesPlease NO_UNSETENV = YesPlease NO_SETENV = YesPlease - NO_MKDTEMP = YesPlease NO_C99_FORMAT = YesPlease NO_STRTOUMAX = YesPlease endif ifeq ($(uname_R),5.9) NO_UNSETENV = YesPlease NO_SETENV = YesPlease - NO_MKDTEMP = YesPlease NO_C99_FORMAT = YesPlease NO_STRTOUMAX = YesPlease endif