# HG changeset patch # User Stu Tomlinson # Date 1113064571 0 # Node ID 3595f818ee37e0420d951ff381459ba0d1ea1fb6 # Parent 0edc30641f4bc4e0c0957343192a55854fc887a0 [gaim-migrate @ 12450] Use silcclient.pc (as included with SILC toolkit 0.9.13) if available, otherwise fallback to the silc.pc that distributions included with 0.9.12 committer: Tailor Script diff -r 0edc30641f4b -r 3595f818ee37 configure.ac --- 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"