gaim/gaim

1aa0a352b47f
Parents a4c1f1255c0c
Children 5e72d82649d7
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
  • +9 -1
    configure.ac
  • --- a/configure.ac Sat Apr 09 10:12:16 2005 -0400
    +++ b/configure.ac Sat Apr 09 12:35:58 2005 -0400
    @@ -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"