Fix detection of xmmsctrl.h
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 11 Oct 2018 11:00:35 +0000 (13:00 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 11 Oct 2018 11:00:35 +0000 (13:00 +0200)
commit8c311d6cd43c3517847ca0ad664ddd593ddb67b5
tree54a071f284ed8eb09023689385ebdca622f25008
parent0684aea7453186e6f90ce4b6b8c5bcca68f0d1b9
Fix detection of xmmsctrl.h

checking xmmsctrl.h usability... yes
checking xmmsctrl.h presence... no
configure: WARNING: xmmsctrl.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: xmmsctrl.h: proceeding with the compiler's result
checking for xmmsctrl.h... yes
checking for xmms_remote_get_info in -lxmms... yes

AC_CHECK_HEADER uses the preprocessor, which doesn't look at CFLAGS.
Use CPPFLAGS so it uses the right include path to look for xmmsctrl.h
configure.ac