[PATCH 3/9] configure.ac: MinGW doesn't have setuid binaries either.

Jon TURNEY jon.turney at dronecode.org.uk
Wed Jan 11 12:13:23 PST 2012


From: Ryan Pavlik <rpavlik at iastate.edu>

(This test doesn't check if we are cross-compiling, which is common
for the MinGW target.  This patch makes it give the right answer when
MinGW is the target)

Reviewed-by: Jon TURNEY <jon.turney at dronecode.org.uk>
---
 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 92bd36d..a074357 100644
--- a/configure.ac
+++ b/configure.ac
@@ -657,6 +657,7 @@ AC_MSG_CHECKING([to see if we can install the Xorg server as root])
 if test "x$SETUID" = "xauto" ; then
 	case $host_os in
 	    cygwin*)		SETUID="no"  ;;
+	    mingw*)		SETUID="no"  ;;
 	    darwin*)		SETUID="no"  ;;
 	    *)
 	   	case $host_cpu in
-- 
1.7.5.1



More information about the xorg-devel mailing list