On Sat, Aug 18, 2012 at 08:53:33PM +0600, Alexandr Shadchin wrote: > Signed-off-by: Alexandr Shadchin <[email protected]> > --- > configure.ac | 9 +++++---- > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/configure.ac b/configure.ac > index 6317acd..08e0571 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -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. > > -- > 1.7.6
Reviewed-by: Peter Hutterer <[email protected]> Cheers, Peter _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
