2014-03-17 13:00:09 -04:00
|
|
|
AC_INIT([rofi], [0.14.3], [qball@gmpclient.org])
|
|
|
|
|
2014-03-18 03:59:42 -04:00
|
|
|
AC_CONFIG_SRCDIR([source/rofi.c])
|
2014-03-17 13:00:09 -04:00
|
|
|
AC_CONFIG_HEADER([config.h])
|
|
|
|
|
2014-03-18 03:59:42 -04:00
|
|
|
##
|
|
|
|
# Setup automake to be silent and in foreign mode.
|
|
|
|
##
|
2014-03-17 14:15:42 -04:00
|
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
2014-03-17 19:11:46 -04:00
|
|
|
AM_SILENT_RULES([yes])
|
2014-03-17 13:00:09 -04:00
|
|
|
|
2014-03-18 03:59:42 -04:00
|
|
|
##
|
|
|
|
# Check for compiler
|
|
|
|
##
|
2014-03-17 13:00:09 -04:00
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_CC_STDC
|
|
|
|
AM_PROG_CC_C_O
|
|
|
|
|
2014-03-17 18:57:49 -04:00
|
|
|
##
|
|
|
|
# I3 check
|
|
|
|
##
|
|
|
|
AC_CHECK_HEADERS([i3/ipc.h],
|
|
|
|
[i3_header=yes; break;])
|
|
|
|
|
2014-03-17 14:15:42 -04:00
|
|
|
##
|
|
|
|
# Check dependencies
|
|
|
|
##
|
2014-03-17 13:00:09 -04:00
|
|
|
PKG_PROG_PKG_CONFIG
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES([xft], [xft])
|
|
|
|
PKG_CHECK_MODULES([x11], [x11])
|
|
|
|
PKG_CHECK_MODULES([xinerama], [xinerama])
|
|
|
|
PKG_CHECK_MODULES([xdgbasedir], [libxdg-basedir])
|
|
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
|
|
AC_OUTPUT
|