summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-08-02 17:55:47 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2012-08-06 21:53:56 -0700
commit509259ea17285eda77bdc07161298af767447e67 (patch)
tree28f883a7166ebb91906aa753db8970f8d2856eb4
parenta724e4438e76438a9524ea7b112adc9d8e075ccb (diff)
On Solaris 11 & later, use /usr/gnu/bin/install for InstallCmd
Older Solaris releases use /usr/ucb/install from the SunOS 4 compatibility packages, but the EOL of that package has been announced now that it has been 20 years since the SunOS 4.x -> Solaris 2.x transition. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jay Cotton <jay.cotton@oracle.com>
-rw-r--r--sun.cf4
1 files changed, 3 insertions, 1 deletions
diff --git a/sun.cf b/sun.cf
index 516a586..3f93d03 100644
--- a/sun.cf
+++ b/sun.cf
@@ -429,7 +429,9 @@ XCOMM SunPro C++ CplusplusCompilerMajorVersion./**/CplusplusCompilerMinorVersion
# define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS
# endif
# endif
-# if OSMinorVersion > 3
+# if OSMinorVersion > 10
+# define InstallCmd /usr/gnu/bin/install
+# elif OSMinorVersion > 3
# define InstallCmd /usr/ucb/install
# endif
#ifndef LargefileDefines