Commit 4cb7fa81 authored by Alexandr Shadchin's avatar Alexandr Shadchin Committed by Peter Hutterer

Remove unneeded AM_CONDITIONAL

Signed-off-by: default avatarAlexandr Shadchin <Alexandr.Shadchin@gmail.com>
Reviewed-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 0249d01a
......@@ -60,9 +60,11 @@ XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
# Obtain compiler/linker options for the driver dependencies
PKG_CHECK_MODULES(XORG, xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES)
PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
HAVE_XEXTPROTO_71="yes"; AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available]),
HAVE_XEXTPROTO_71="no")
AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
HAVE_XEXTPROTO_71="yes", HAVE_XEXTPROTO_71="no")
if test "x$HAVE_XEXTPROTO_71" = xyes; then
AC_DEFINE(HAVE_XEXTPROTO_71, 1, [xextproto 7.1 available])
fi
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS"
......@@ -90,7 +92,6 @@ CFLAGS="$save_CFLAGS"
if test "x$XSERVER_LIBPCIACCESS" = xyes; then
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.12.901])
fi
AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
# Checks for libraries.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment