]> git.sur5r.net Git - openldap/commitdiff
Treat SunOS5.6 as a separate platform due to thread lib differences
authorKurt Zeilenga <kurt@openldap.org>
Fri, 14 Aug 1998 23:58:38 +0000 (23:58 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 14 Aug 1998 23:58:38 +0000 (23:58 +0000)
Makefile

index 05b7363c326f38d6eb3e2a4485ca0e86f80a0ce5..3b313842d3151a11e12e19247373b672c1da0995 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -257,7 +257,12 @@ makeconfig:        .makefiles buildtools
                    echo "SunOS release $$OSRELEASE unknown..."; exit 1; \
                fi; \
                if [ $$OSRELEASE -ge "5" ]; then \
-                   PLATFORM="sunos5"; \
+                       MINORVER=`echo $$OSRELEASE|sed 's/^.*\.//'` ; \
+                       if [ $$MINORVER -ge "6" ]; then \
+                               PLATFORM="sunos56" ; \
+                       else \
+                       PLATFORM="sunos5"; \
+                       fi; \
                else \
                    PLATFORM="sunos4"; \
                fi; \