Blob Blame History Raw
diff -up ncmpc-0.18/configure.ac.orig ncmpc-0.18/configure.ac
--- ncmpc-0.18/configure.ac.orig	2011-03-01 06:42:54.000000000 +0100
+++ ncmpc-0.18/configure.ac	2011-03-01 06:43:53.000000000 +0100
@@ -209,8 +209,8 @@ 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])])
+	AC_CHECK_LIB(lirc_client, lirc_init, ,
+               [AC_MSG_ERROR([lirc_client not found])])
 	AC_DEFINE([ENABLE_LIRC], [1], [Enable LIRC support])
 fi