configure.ac

changeset 10803
9170a8914af7
parent 10628
170949b0903d
child 10814
7e17cb56b019
--- a/configure.ac	Sat Apr 09 14:55:50 2005 +0000
+++ b/configure.ac	Sat Apr 09 16:36:11 2005 +0000
@@ -112,11 +112,19 @@
 	silc_manual_check="no"
 fi
 if test "x$silc_manual_check" = "xno"; then
-	PKG_CHECK_MODULES(SILC, silc, [
+	PKG_CHECK_MODULES(SILC, silcclient, [
 		have_silc="yes"
 		silcincludes="yes"
 		silcclient="yes"
 	], have_silc="no")
+	dnl If silcclient.pc wasn't found, check for just silc.pc
+	if test "x$have_silc" = "xno"; then
+		PKG_CHECK_MODULES(SILC, silc, [
+			have_silc="yes"
+			silcincludes="yes"
+			silcclient="yes"
+		], have_silc="no")
+	fi
 else
 	if test "$ac_silc_includes" != "no"; then
 		SILC_CFLAGS="-I$ac_silc_includes"

mercurial