Submitted By:            Igor Živković <contact at igor hyphen zivkovic dot from dot hr>
Date:                    2013-07-07
Initial Package Version: 1.9.1
Upstream Status:         Reported
Origin:                  freedesktop.org bugzilla
Description:             Works around the bug in newer automake.

diff -Naur libxcb-1.9.1.orig/configure.ac libxcb-1.9.1/configure.ac
--- libxcb-1.9.1.orig/configure.ac	2013-05-30 17:38:01.000000000 +0200
+++ libxcb-1.9.1/configure.ac	2013-07-07 22:21:24.655173603 +0200
@@ -2,20 +2,21 @@
 # Process this file with autoconf to produce a configure script.
 
 # Initialize Autoconf
-AC_PREREQ(2.57)
 AC_INIT([libxcb],
         1.9.1,
         [xcb@lists.freedesktop.org])
+AC_PREREQ(2.57)
+
+# Initialize Automake
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+
 AC_CONFIG_SRCDIR([xcb.pc.in])
 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
 # Must be called before any macros that run the compiler (like AC_PROG_LIBTOOL)
 # to avoid autoconf errors.
 AC_USE_SYSTEM_EXTENSIONS
 
-# Initialize Automake
-AM_INIT_AUTOMAKE([foreign dist-bzip2])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
 AM_PATH_PYTHON([2.6])
 
 PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=yes], [HAVE_CHECK=no])
