summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2015-12-11 16:28:38 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2015-12-11 16:28:38 -0800
commit513f4a0a8f68491995c7a6a3594c51b6ab84a3a1 (patch)
tree3ed80c9e2326391fe73a294eb0a5d3fe580030d8
parent9d00e1f1f5cbb05ad45cc50efce7663ab92bb225 (diff)
sun.cf: limit SysV man page sections to Solaris 2.0-11
All others (including other SunOS/Solaris releases) use the traditional Bell Labs / BSD / Linux section numbering. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--sun.cf30
1 files changed, 30 insertions, 0 deletions
diff --git a/sun.cf b/sun.cf
index 011b6f7..d870dc1 100644
--- a/sun.cf
+++ b/sun.cf
@@ -857,6 +857,36 @@ MAPFILES_FOR_PROGS = Mapfile_BssAlign Mapfile_NoExStack
# define LibDirName Concat3(lib,/,Solaris64bitSubdir)
#endif
+#if ((OSMajorVersion == 5) && (OSMinorVersion <= 11))
+/* System V man page sections */
+# ifndef FileManSuffix
+# define FileManSuffix 4 /* use just one tab or cpp will die */
+# endif
+# ifndef MiscManSuffix
+# define MiscManSuffix 5 /* use just one tab or cpp will die */
+# endif
+# ifndef DriverManSuffix
+# define DriverManSuffix 7 /* use just one tab or cpp will die */
+# endif
+# ifndef AdminManSuffix
+# define AdminManSuffix 1m /* use just one tab or cpp will die */
+# endif
+#else
+/* Bell Labs / BSD man page sections */
+# ifndef FileManSuffix
+# define FileManSuffix 5 /* use just one tab or cpp will die */
+# endif
+# ifndef MiscManSuffix
+# define MiscManSuffix 7 /* use just one tab or cpp will die */
+# endif
+# ifndef DriverManSuffix
+# define DriverManSuffix 4 /* use just one tab or cpp will die */
+# endif
+# ifndef AdminManSuffix
+# define AdminManSuffix 8 /* use just one tab or cpp will die */
+# endif
+#endif
+
#if OSMajorVersion > 4
# include <svr4.cf>
#endif