mirror of
https://github.com/lbonn/rofi
synced 2024-12-15 06:52:32 +00:00
79e729bd37
* TODO: fix make distcheck.
48 lines
1 KiB
Text
48 lines
1 KiB
Text
AC_INIT([rofi], [0.14.8], [qball@gmpclient.org])
|
|
|
|
AC_CONFIG_SRCDIR([source/rofi.c])
|
|
AC_CONFIG_HEADER([config.h])
|
|
|
|
##
|
|
# Setup automake to be silent and in foreign mode.
|
|
##
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
|
AM_SILENT_RULES([yes])
|
|
|
|
##
|
|
# Check for compiler
|
|
##
|
|
AC_PROG_CC
|
|
AC_PROG_CC_STDC
|
|
AM_PROG_CC_C_O
|
|
|
|
AC_USE_SYSTEM_EXTENSIONS
|
|
|
|
##
|
|
# I3 check
|
|
##
|
|
AC_CHECK_HEADERS([i3/ipc.h],
|
|
[i3_header=yes; break;])
|
|
|
|
|
|
dnl ---------------------------------------------------------------------
|
|
dnl Enable source code coverage reporting for GCC
|
|
dnl ---------------------------------------------------------------------
|
|
|
|
AC_ARG_ENABLE(gcov,
|
|
[ --enable-gcov Enable source code coverage testing using gcov],
|
|
[CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"])
|
|
|
|
##
|
|
# Check dependencies
|
|
##
|
|
PKG_PROG_PKG_CONFIG
|
|
|
|
PKG_CHECK_MODULES([xft], [xft])
|
|
PKG_CHECK_MODULES([x11], [x11])
|
|
PKG_CHECK_MODULES([xinerama], [xinerama])
|
|
PKG_CHECK_MODULES([pango], [pango pangoxft])
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile test/Makefile])
|
|
AC_OUTPUT
|