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

Gaetan Nadon memsize at videotron.ca
Tue Sep 13 17:24:25 PDT 2011


On Tue, 2011-09-13 at 16:33 -0500, 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])
>  

Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110913/34a16724/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110913/34a16724/attachment-0001.pgp>


More information about the xorg-devel mailing list