configure.ac 405 Bytes
Newer Older
Bill Allombert's avatar
Bill Allombert committed
1 2
AC_PREREQ([2.69])

Bill Allombert's avatar
Bill Allombert committed
3
AC_INIT([consolation], [0.0.7])
Bill Allombert's avatar
Bill Allombert committed
4 5 6 7

AC_CONFIG_AUX_DIR(config)

AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
8
AM_CONFIG_HEADER(src/config.h)
Bill Allombert's avatar
Bill Allombert committed
9 10 11 12 13

# Check for programs
AC_PROG_CC

PKG_PROG_PKG_CONFIG()
14
PKG_CHECK_MODULES(LIBINPUT, [libinput >= 1.5])
Bill Allombert's avatar
Bill Allombert committed
15 16 17 18 19
PKG_CHECK_MODULES(LIBUDEV,  [libudev])
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4])

AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT