1 --- pidgin-2.7.0-orig/configure.ac 2010-05-14 10:50:13.801960582 +0200
2 +++ pidgin-2.7.0/configure.ac 2010-05-14 10:50:47.245498821 +0200
4 dnl Check for inet_aton
5 AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, ,
6 [AC_MSG_ERROR([inet_aton not found])])])
7 -AC_CHECK_LIB(resolv, __res_query)
8 -AC_CHECK_LIB(nsl, gethostent)
9 +AC_CHECK_FUNC(resolv, ,[AC_CHECK_LIB(resolv, __res_query)])
10 +AC_CHECK_FUNC(gethostent, , [AC_CHECK_LIB(nsl, gethostent)])
11 AC_CHECK_FUNC(socket, ,
12 [AC_CHECK_LIB(socket, socket, , [AC_MSG_ERROR([socket not found])])])
13 dnl If all goes well, by this point the previous two checks will have
15 PKG_CHECK_MODULES(LIBGADU, [libgadu >= 1.12.0], [have_libgadu=yes], [have_libgadu=no])
17 if test "x$have_libgadu" = "xyes"; then
19 AC_CHECK_LIB(gadu, gg_is_gpl_compliant, , [
23 Falling back to using our own copy of libgadu.
29 AM_CONDITIONAL(HAVE_LIBGADU, test "x$have_libgadu" = "xyes")