X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=configure.ac;h=77c47017e72190d05ea9ac5ca59f7fda1b2670b4;hb=a26898627b93ce15b26d18a18c504a0a021faf58;hp=14edebecad986fb2d1f9a320b42bbdeeb02f20cb;hpb=519e381200caa73cb7fafb308a43f4e1778b10cd;p=ncmpc.git 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