Mercurial > pidgin
changeset 2711:b7455c506979
[gaim-migrate @ 2724]
eh.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 13 Nov 2001 06:30:37 +0000 |
parents | 66e5c6a08bbb |
children | d17c504adc36 |
files | configure.ac src/protocols/oscar/ft.c src/protocols/yahoo/Makefile.am |
diffstat | 3 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Tue Nov 13 06:14:07 2001 +0000 +++ b/configure.ac Tue Nov 13 06:30:37 2001 +0000 @@ -320,6 +320,9 @@ dnl checks for yahoo AC_CHECK_HEADERS(crypt.h) +CRYPT_LIBS= +AC_CHECK_FUNC(crypt, , CRYPT_LIBS=-lcrypt) +AC_SUBST(CRYPT_LIBS) dnl checks for zephyr AC_DEFINE(ZEPHYR_INT32, long)
--- a/src/protocols/oscar/ft.c Tue Nov 13 06:14:07 2001 +0000 +++ b/src/protocols/oscar/ft.c Tue Nov 13 06:30:37 2001 +0000 @@ -4,6 +4,9 @@ */ #define FAIM_INTERNAL +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <aim.h> @@ -776,8 +779,7 @@ */ static int listenestablish(fu16_t portnum) { -#if defined(__linux__) - /* XXX what other OS's support getaddrinfo? */ +#if HAVE_GETADDRINFO int listenfd; const int on = 1; struct addrinfo hints, *res, *ressave;
--- a/src/protocols/yahoo/Makefile.am Tue Nov 13 06:14:07 2001 +0000 +++ b/src/protocols/yahoo/Makefile.am Tue Nov 13 06:30:37 2001 +0000 @@ -1,7 +1,7 @@ pkgdir = $(libdir)/gaim CFLAGS += -I\$(top_srcdir)/src $(st) $(DEBUG_CFLAGS) -LIBS = @LIBS@ -lcrypt +LIBS = @LIBS@ $(CRYPT_LIBS) libyahoo_la_LDFLAGS = -avoid-version if STATIC_YAHOO