mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-03 15:34:54 -05:00
Disable i3 support when window mode disabled.
This commit is contained in:
parent
a645da701f
commit
6a8a367cbd
1 changed files with 9 additions and 10 deletions
19
configure.ac
19
configure.ac
|
@ -18,16 +18,6 @@ AM_PROG_CC_C_O
|
||||||
|
|
||||||
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
|
||||||
##
|
|
||||||
# I3 check
|
|
||||||
##
|
|
||||||
AC_ARG_ENABLE(i3support,
|
|
||||||
[AS_HELP_STRING([--disable-i3support], [Disable check for i3 support])])
|
|
||||||
if test "x$enable_i3support" != xno;
|
|
||||||
then
|
|
||||||
AC_CHECK_HEADERS([i3/ipc.h],
|
|
||||||
[i3_header=yes; break;])
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------
|
||||||
|
@ -50,6 +40,15 @@ AS_IF([ test "x$enable_windowmode" != "xno"], [
|
||||||
AC_DEFINE([WINDOW_MODE],[1],[Enable the window mode])
|
AC_DEFINE([WINDOW_MODE],[1],[Enable the window mode])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
##
|
||||||
|
# I3 check
|
||||||
|
##
|
||||||
|
AC_ARG_ENABLE(i3support,
|
||||||
|
[AS_HELP_STRING([--disable-i3support], [Disable check for i3 support])])
|
||||||
|
AS_IF([test "x$enable_i3support" != xno && test "x$enable_windowmode" != "xno"],[
|
||||||
|
AC_CHECK_HEADERS([i3/ipc.h], [i3_header=yes; break;])
|
||||||
|
])
|
||||||
|
|
||||||
##
|
##
|
||||||
# Check dependencies
|
# Check dependencies
|
||||||
##
|
##
|
||||||
|
|
Loading…
Add table
Reference in a new issue