comparison configure.ac @ 10803:3595f818ee37

[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 <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 09 Apr 2005 16:36:11 +0000
parents 7283a335cf23
children 364a2ef907ae
comparison
equal deleted inserted replaced
10802:0edc30641f4b 10803:3595f818ee37
110 silc_manual_check="yes" 110 silc_manual_check="yes"
111 else 111 else
112 silc_manual_check="no" 112 silc_manual_check="no"
113 fi 113 fi
114 if test "x$silc_manual_check" = "xno"; then 114 if test "x$silc_manual_check" = "xno"; then
115 PKG_CHECK_MODULES(SILC, silc, [ 115 PKG_CHECK_MODULES(SILC, silcclient, [
116 have_silc="yes" 116 have_silc="yes"
117 silcincludes="yes" 117 silcincludes="yes"
118 silcclient="yes" 118 silcclient="yes"
119 ], have_silc="no") 119 ], have_silc="no")
120 dnl If silcclient.pc wasn't found, check for just silc.pc
121 if test "x$have_silc" = "xno"; then
122 PKG_CHECK_MODULES(SILC, silc, [
123 have_silc="yes"
124 silcincludes="yes"
125 silcclient="yes"
126 ], have_silc="no")
127 fi
120 else 128 else
121 if test "$ac_silc_includes" != "no"; then 129 if test "$ac_silc_includes" != "no"; then
122 SILC_CFLAGS="-I$ac_silc_includes" 130 SILC_CFLAGS="-I$ac_silc_includes"
123 fi 131 fi
124 CPPFLAGS_save="$CPPFLAGS" 132 CPPFLAGS_save="$CPPFLAGS"