[PATCH xorg-gtest] Remove xorg-server pkgconfig check

Gaetan Nadon memsize at videotron.ca
Wed Feb 29 15:15:15 PST 2012


On 12-02-29 03:28 PM, Chase Douglas wrote:
> xorg-server flags are not needed. Including them also causes
> -fvisibility=hidden to be used, which breaks the build output.
>
> Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index ae254be..89a72a7 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -32,7 +32,7 @@ XORG_DEFAULT_OPTIONS
>  AC_PROG_CXX
>  AC_PROG_INSTALL
>  
> -PKG_CHECK_MODULES( XSERVER, x11 [xorg-server] )
> +PKG_CHECK_MODULES(XSERVER, x11)
>   
>  # Check for Google Test
>  AC_CHECK_GTEST
That will do it. The name XSERVER is very confusing, but that can be
changed later.

Reviewed-by: Gaetan Nadon<memsize at videotron.ca>


More information about the xorg-devel mailing list