changeset 2708:20f32dcbcd1d

[gaim-migrate @ 2721] some people don't have crypt.h, apparently. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 11 Nov 2001 18:07:45 +0000
parents 7cdf02a9bc0e
children df0832a9ccec
files configure.ac src/protocols/yahoo/yahoo.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sat Nov 10 08:13:22 2001 +0000
+++ b/configure.ac	Sun Nov 11 18:07:45 2001 +0000
@@ -318,6 +318,9 @@
 AC_CHECK_FUNCS(snprintf connect)
 AC_CHECK_LIB(nsl, gethostent)
 
+dnl checks for yahoo
+AC_CHECK_HEADERS(crypt.h)
+
 dnl checks for zephyr
 AC_DEFINE(ZEPHYR_INT32, long)
 AC_SUBST(KRB4_CFLAGS)
--- a/src/protocols/yahoo/yahoo.c	Sat Nov 10 08:13:22 2001 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sun Nov 11 18:07:45 2001 +0000
@@ -37,7 +37,9 @@
 #include <sys/socket.h>
 #include <sys/stat.h>
 #include <ctype.h>
+#if HAVE_CRYPT_H
 #include <crypt.h>
+#endif
 #include "multi.h"
 #include "prpl.h"
 #include "gaim.h"