]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config.mak.uname: update settings for Solaris 10 and 11
authorBrad Smith <brad@comstyle.com>
Sun, 8 Jun 2025 01:26:52 +0000 (21:26 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 8 Jun 2025 04:21:10 +0000 (21:21 -0700)
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>
config.mak.uname

index b12d4e168ae11905391be45a41420a973ee610a9..b4af8770a77592a5d2a1795afc29106a82ca510b 100644 (file)
@@ -190,9 +190,6 @@ ifeq ($(uname_S),SunOS)
        SHELL_PATH = /bin/bash
        SANE_TOOL_PATH = /usr/xpg6/bin:/usr/xpg4/bin
        HAVE_ALLOCA_H = YesPlease
-       NO_STRCASESTR = YesPlease
-       NO_MEMMEM = YesPlease
-       NO_MKDTEMP = YesPlease
        NO_REGEX = YesPlease
        NO_MSGFMT_EXTENDED_OPTIONS = YesPlease
        HAVE_DEV_TTY = YesPlease
@@ -202,7 +199,10 @@ ifeq ($(uname_S),SunOS)
                NO_IPV6 = YesPlease
                NO_SOCKADDR_STORAGE = YesPlease
                NO_UNSETENV = YesPlease
+               NO_MKDTEMP = YesPlease
+               NO_MEMMEM = YesPlease
                NO_SETENV = YesPlease
+               NO_STRCASESTR = YesPlease
                NO_STRLCPY = YesPlease
                NO_STRTOUMAX = YesPlease
                GIT_TEST_CMP = cmp
@@ -212,23 +212,45 @@ ifeq ($(uname_S),SunOS)
                NO_IPV6 = YesPlease
                NO_SOCKADDR_STORAGE = YesPlease
                NO_UNSETENV = YesPlease
+               NO_MKDTEMP = YesPlease
+               NO_MEMMEM = YesPlease
                NO_SETENV = YesPlease
+               NO_STRCASESTR = YesPlease
                NO_STRLCPY = YesPlease
                NO_STRTOUMAX = YesPlease
                GIT_TEST_CMP = cmp
         endif
         ifeq ($(uname_R),5.8)
                NO_UNSETENV = YesPlease
+               NO_MKDTEMP = YesPlease
+               NO_MEMMEM = YesPlease
                NO_SETENV = YesPlease
+               NO_STRCASESTR = YesPlease
                NO_STRTOUMAX = YesPlease
                GIT_TEST_CMP = cmp
         endif
         ifeq ($(uname_R),5.9)
                NO_UNSETENV = YesPlease
+               NO_MKDTEMP = YesPlease
+               NO_MEMMEM = YesPlease
                NO_SETENV = YesPlease
+               NO_STRCASESTR = YesPlease
                NO_STRTOUMAX = YesPlease
                GIT_TEST_CMP = cmp
         endif
+        ifeq ($(uname_R),5.10)
+               NO_UNSETENV = YesPlease
+               NO_MKDTEMP = YesPlease
+               NO_MEMMEM = YesPlease
+               NO_SETENV = YesPlease
+               NO_STRCASESTR = YesPlease
+               GIT_TEST_CMP = cmp
+        endif
+        ifeq ($(uname_R),5.11)
+               NO_UNSETENV = YesPlease
+               NO_SETENV = YesPlease
+               GIT_TEST_CMP = cmp
+        endif
        INSTALL = /usr/ucb/install
        TAR = gtar
        BASIC_CFLAGS += -D__EXTENSIONS__ -D__sun__