aboutsummaryrefslogtreecommitdiffstats
path: root/main/libguess/libmowgli2.patch
blob: 2f00dddefc82ae3d2f123eb86d12f2261fd70b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ./configure.ac.orig	2013-02-28 07:05:33.024962268 +0000
+++ ./configure.ac	2013-02-28 07:13:27.005783738 +0000
@@ -40,7 +40,11 @@
 AC_CHECK_FUNCS([printf sprintf snprintf vsnprintf gettimeofday strndup strlcpy strlcat])
 AC_FUNC_STAT
 
-PKG_CHECK_MODULES([MOWGLI], [libmowgli >= 0.9.50], [], [AC_MSG_ERROR([Install Mowgli from http://atheme.org/project/mowgli.])])
+PKG_CHECK_MODULES([MOWGLI], [libmowgli-2], [],
+    [PKG_CHECK_MODULES([MOWGLI], [libmowgli >= 0.9.50], [],
+        [AC_MSG_ERROR([Install Mowgli from http://atheme.org/project/mowgli.])
+    ])
+])
 
 # Check for optional features.
 EXAMPLES_BUILD=""