[PATCH:app/xman] Cygwin uses Linux-style man
Yaakov (Cygwin/X)
yselkowitz at users.sourceforge.net
Thu Oct 15 14:09:44 PDT 2009
From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
configure.ac | 4 ++--
vendor.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6435a11..3ebb09a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -96,10 +96,10 @@ if test x$MANCONF != x ; then
*darwin* | *openbsd* | *netbsd* )
MAN_CONFIG_STYLE="OpenBSD"
;;
- *linux* )
+ *linux* | cygwin* )
MAN_CONFIG_STYLE="Linux"
;;
- *bsd* )
+ *bsd* )
MAN_CONFIG_STYLE="BSD"
;;
*)
diff --git a/vendor.h b/vendor.h
index 4415ecb..21ff3ec 100644
--- a/vendor.h
+++ b/vendor.h
@@ -59,7 +59,7 @@ from the X Consortium.
# define SEARCHDIR MAN
#endif
-#if ( defined(sgi) || (defined(i386) && (defined(SYSV) || defined(SVR4)) && !defined(sun)) || (defined(BSD) && (BSD >= 199103)) || defined(linux) )
+#if ( defined(sgi) || (defined(i386) && (defined(SYSV) || defined(SVR4)) && !defined(sun)) || (defined(BSD) && (BSD >= 199103)) || defined(linux) || defined(__CYGWIN__) )
# define SEARCHOTHER CAT
#endif
@@ -183,7 +183,7 @@ from the X Consortium.
# define FORMAT "| eqn | tbl | nroff -mandoc"
# elif defined(BSD) && (BSD >= 199103)
# define FORMAT "| eqn | tbl | nroff -man"
-# elif defined(linux)
+# elif defined(linux) || defined(__CYGWIN__)
# define FORMAT "| pic | eqn | tbl -Tlatin1 | GROFF_NO_SGR= groff -Tlatin1 -mandoc"
# else
# define FORMAT "| neqn | nroff -man" /* The format command. */
--
1.6.4.2
More information about the xorg-devel
mailing list