[PATCH 1/2] configure.ac: Avoid "Your OS is unknown" warning when configuring for Cygwin

Jon TURNEY jon.turney at dronecode.org.uk
Tue Sep 30 06:09:09 PDT 2014


Don't emit "Your OS is unknown" warning when configuring with --enable-xorg to
build the XOrg DDX for Cygwin.

The list of supported OSes is getting a bit unwieldy, so just remove it.

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 configure.ac | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 30c0c5c..ee2321e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1991,11 +1991,13 @@ if test "x$XORG" = xyes; then
 	  gnu*)
 		XORG_OS_SUBDIR="hurd"
 		;;
+	  cygwin*)
+		XORG_OS_SUBDIR="stub"
+		;;
 	  *)
 		XORG_OS_SUBDIR="stub"
 		AC_MSG_NOTICE([m4_text_wrap(m4_join([ ],
-		[Your OS is unknown. Xorg currently only supports Linux,],
-		[Free/Open/Net/DragonFlyBSD, Solaris/OpenSolaris, & GNU Hurd.],
+		[Your OS is unknown.],
 		[If you are interested in porting Xorg to your platform,],
 		[please email xorg at lists.freedesktop.org.]))])
 		;;
-- 
2.1.1



More information about the xorg-devel mailing list