parent
3a51673c05
commit
1999d5cf55
@ -68,8 +68,11 @@ i3status_SOURCES = \
|
||||
src/print_volume.c \
|
||||
src/print_wireless_info.c \
|
||||
src/print_file_contents.c \
|
||||
src/process_runs.c \
|
||||
src/pulse.c
|
||||
src/process_runs.c
|
||||
|
||||
if PULSE
|
||||
i3status_SOURCES += src/pulse.c
|
||||
endif
|
||||
|
||||
dist_sysconf_DATA = \
|
||||
i3status.conf
|
||||
|
@ -80,16 +80,19 @@ AC_CANONICAL_HOST
|
||||
PKG_CHECK_MODULES([CONFUSE], [libconfuse])
|
||||
PKG_CHECK_MODULES([YAJL], [yajl])
|
||||
|
||||
pulse=false
|
||||
case $host_os in
|
||||
linux*)
|
||||
PKG_CHECK_MODULES([NLGENL], [libnl-genl-3.0])
|
||||
PKG_CHECK_MODULES([ALSA], [alsa])
|
||||
PKG_CHECK_MODULES([PULSE], [libpulse])
|
||||
pulse=true
|
||||
;;
|
||||
netbsd*)
|
||||
AC_SEARCH_LIBS([prop_string_create], [prop])
|
||||
;;
|
||||
esac
|
||||
AM_CONDITIONAL([PULSE], [test x$pulse = xtrue])
|
||||
|
||||
dnl TODO: check for libbsd for GNU/kFreeBSD
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user