[PATCH 2/2] configure.ac: XORG_OS is not used, so delete it.

Jeremy Huddleston jeremyhu at apple.com
Tue Sep 13 16:14:58 PDT 2011


Reviewed-by: Jeremy Huddleston <jeremyhu at apple.com>

On Sep 13, 2011, at 4:33 PM, Jamey Sharp wrote:

> Signed-off-by: Jamey Sharp <jamey at minilop.net>
> ---
> configure.ac |    8 --------
> 1 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index bc34c72..6c4fffd 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1573,7 +1573,6 @@ if test "x$XORG" = xyes; then
> 		if test "x$LNXAPM" = xyes; then
> 			XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
> 		fi
> -	  	XORG_OS="linux"
> 		XORG_OS_SUBDIR="linux"
> 		xorg_bus_linuxpci="yes"
> 		linux_acpi="no"
> @@ -1593,12 +1592,10 @@ if test "x$XORG" = xyes; then
> 		esac
> 		;;
> 	  freebsd* | kfreebsd*-gnu | dragonfly*)
> -	  	XORG_OS="freebsd"
> 		XORG_OS_SUBDIR="bsd"
> 		xorg_bus_bsdpci="yes"
> 		;;
> 	  netbsd*)
> -	  	XORG_OS="netbsd"
> 		XORG_OS_SUBDIR="bsd"
> 		xorg_bus_bsdpci="yes"
> 		;;
> @@ -1607,12 +1604,10 @@ if test "x$XORG" = xyes; then
> 			-o "x$ac_cv_BSD_KQUEUE_APM" = xyes; then
> 			XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
> 		fi
> -	  	XORG_OS="openbsd"
> 		XORG_OS_SUBDIR="bsd"
> 		xorg_bus_bsdpci="yes"
> 		;;
> 	  solaris*)
> -	  	XORG_OS="solaris"
> 		XORG_OS_SUBDIR="solaris"
> 		XORG_CFLAGS="$XORG_CFLAGS -DXF86PM"
> 		# Use the same stubs as BSD for old functions, since we now
> @@ -1664,14 +1659,12 @@ if test "x$XORG" = xyes; then
> 		fi
> 		;;
> 	  gnu*)
> -	  	XORG_OS="gnu"
> 		XORG_OS_SUBDIR="hurd"
> 		# Use the same stubs as BSD for old functions, since we now
> 		# use libpciaccess for PCI
> 		xorg_bus_bsdpci="yes"
> 		;;
> 	  *)
> -	  	XORG_OS="unknown"
> 		XORG_OS_SUBDIR="unknown"
> 		AC_MSG_ERROR([m4_text_wrap(m4_join([ ],
> 		[Your OS is unknown. Xorg currently only supports Linux,],
> @@ -1726,7 +1719,6 @@ if test "x$XORG" = xyes; then
> 	AC_SUBST([XORG_LIBS])
> 	AC_SUBST([XORG_SYS_LIBS])
> 	AC_SUBST([XORG_INCS])
> -	AC_SUBST([XORG_OS])
> 	AC_SUBST([XORG_OS_SUBDIR])
> 	AC_SUBST([XORG_CFLAGS])
> 
> -- 
> 1.7.5.4
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 

---
Jeremy Huddleston

Rebuild Sudan
 - Board of Directors
 - http://www.rebuildsudan.org

Berkeley Foundation for Opportunities in Information Technology
 - Advisory Board
 - http://www.bfoit.org



More information about the xorg-devel mailing list