summaryrefslogtreecommitdiff
path: root/app/xbacklight/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'app/xbacklight/configure.ac')
-rw-r--r--app/xbacklight/configure.ac16
1 files changed, 11 insertions, 5 deletions
diff --git a/app/xbacklight/configure.ac b/app/xbacklight/configure.ac
index 85ebde4af..f97497d31 100644
--- a/app/xbacklight/configure.ac
+++ b/app/xbacklight/configure.ac
@@ -21,10 +21,15 @@ dnl PERFORMANCE OF THIS SOFTWARE.
dnl
dnl Process this file with autoconf to create configure.
+# Initialize Autoconf
AC_PREREQ([2.60])
-AC_INIT([xbacklight], [1.1.2],
+AC_INIT([xbacklight], [1.2.1],
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
[xbacklight])
+AC_CONFIG_SRCDIR([Makefile.am])
+AC_CONFIG_HEADERS([config.h])
+
+# Initialize Automake
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
@@ -34,9 +39,10 @@ m4_ifndef([XORG_MACROS_VERSION],
XORG_MACROS_VERSION(1.8)
XORG_DEFAULT_OPTIONS
-AM_CONFIG_HEADER(config.h)
-
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XRANDR, xrandr >= 1.2.0 x11)
+PKG_CHECK_MODULES(XRANDR, [xcb-randr >= 1.2 xcb-atom xcb-aux xcb])
-AC_OUTPUT([Makefile])
+AC_CONFIG_FILES([
+ Makefile
+ man/Makefile])
+AC_OUTPUT