config.mak.uname: update settings for Solaris 10 and 11

Solaris 10 and newer has strtoumax(). Solaris 11 and newer has mkdtemp(), memmem(), and strcasestr(). Signed-off-by: Brad Smith <brad@comstyle.com> Reviewed-by: Collin Funk <collin.funk1@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Brad Smith committed Jun 7, 2025 at 21:26 UTC 47e7dee00a7f6730eb46705ccab33fb9a0a372b5
1 file changed +25 -3
config.mak.uname
+25 -3
@@ -190,9 +190,6 @@ ifeq ($(uname_S),SunOS)
190 SHELL_PATH = /bin/bash
191 SANE_TOOL_PATH = /usr/xpg6/bin:/usr/xpg4/bin
192 HAVE_ALLOCA_H = YesPlease
193 - NO_STRCASESTR = YesPlease
194 - NO_MEMMEM = YesPlease
195 - NO_MKDTEMP = YesPlease
193 NO_REGEX = YesPlease
194 NO_MSGFMT_EXTENDED_OPTIONS = YesPlease
195 HAVE_DEV_TTY = YesPlease
@@ -202,7 +199,10 @@ ifeq ($(uname_S),SunOS)
199 NO_IPV6 = YesPlease
200 NO_SOCKADDR_STORAGE = YesPlease
201 NO_UNSETENV = YesPlease
202 + NO_MKDTEMP = YesPlease
203 + NO_MEMMEM = YesPlease
204 NO_SETENV = YesPlease
205 + NO_STRCASESTR = YesPlease
206 NO_STRLCPY = YesPlease
207 NO_STRTOUMAX = YesPlease
208 GIT_TEST_CMP = cmp
@@ -212,23 +212,45 @@ ifeq ($(uname_S),SunOS)
212 NO_IPV6 = YesPlease
213 NO_SOCKADDR_STORAGE = YesPlease
214 NO_UNSETENV = YesPlease
215 + NO_MKDTEMP = YesPlease
216 + NO_MEMMEM = YesPlease
217 NO_SETENV = YesPlease
218 + NO_STRCASESTR = YesPlease
219 NO_STRLCPY = YesPlease
220 NO_STRTOUMAX = YesPlease
221 GIT_TEST_CMP = cmp
222 endif
223 ifeq ($(uname_R),5.8)
224 NO_UNSETENV = YesPlease
225 + NO_MKDTEMP = YesPlease
226 + NO_MEMMEM = YesPlease
227 NO_SETENV = YesPlease
228 + NO_STRCASESTR = YesPlease
229 NO_STRTOUMAX = YesPlease
230 GIT_TEST_CMP = cmp
231 endif
232 ifeq ($(uname_R),5.9)
233 NO_UNSETENV = YesPlease
234 + NO_MKDTEMP = YesPlease
235 + NO_MEMMEM = YesPlease
236 NO_SETENV = YesPlease
237 + NO_STRCASESTR = YesPlease
238 NO_STRTOUMAX = YesPlease
239 GIT_TEST_CMP = cmp
240 endif
241 + ifeq ($(uname_R),5.10)
242 + NO_UNSETENV = YesPlease
243 + NO_MKDTEMP = YesPlease
244 + NO_MEMMEM = YesPlease
245 + NO_SETENV = YesPlease
246 + NO_STRCASESTR = YesPlease
247 + GIT_TEST_CMP = cmp
248 + endif
249 + ifeq ($(uname_R),5.11)
250 + NO_UNSETENV = YesPlease
251 + NO_SETENV = YesPlease
252 + GIT_TEST_CMP = cmp
253 + endif
254 INSTALL = /usr/ucb/install
255 TAR = gtar
256 BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__