From: Gianfranco Costamagna Date: Fri, 28 Oct 2016 10:22:59 +0000 (+0200) Subject: configure.ac: detect lirc 0.9.4 X-Git-Tag: v0.26~83 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a26898627b93ce15b26d18a18c504a0a021faf58;p=ncmpc.git configure.ac: detect lirc 0.9.4 --- diff --git a/NEWS b/NEWS index 7fead61..982ab44 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,5 @@ ncmpc 0.26 - not yet released - +* adapt to lirc 0.9.4 ncmpc 0.25 - (2016-08-18) * implement "%disc%" diff --git a/configure.ac b/configure.ac index 14edebe..77c4701 100644 --- a/configure.ac +++ b/configure.ac @@ -184,8 +184,12 @@ AC_ARG_ENABLE([lirc], [Enable LIRC support]),, [enable_lirc=no]) if test x$enable_lirc = xyes; then - PKG_CHECK_MODULES([LIBLIRCCLIENT], [liblircclient0],, - [AC_MSG_ERROR([liblircclient0 not found])]) + PKG_CHECK_MODULES([LIBLIRCCLIENT], [lirc],, + [PKG_CHECK_MODULES([LIBLIRCCLIENT], [liblircclient0],, + [AC_MSG_ERROR([lirc not found])] + )] + ) + AC_DEFINE([ENABLE_LIRC], [1], [Enable LIRC support]) fi