changeset 2959:c2ffe9743178

[gaim-migrate @ 2972] Busta, what it is right now... committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 17 Feb 2002 18:17:50 +0000
parents 3b07b6d287ad
children 9513ddc78d09
files configure.ac
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sun Feb 17 18:13:13 2002 +0000
+++ b/configure.ac	Sun Feb 17 18:17:50 2002 +0000
@@ -37,6 +37,10 @@
 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) 
 AC_SUBST(LIBOBJS)
 
+dnl Check for inet_aton
+AC_CHECK_FUNC(inet_aton, , [AC_CHECK_LIB(resolv, inet_aton, , 
+				         [AC_ERROR(inet_aton not found)])])
+
 dnl This is a bad, bad hack.  I am a bad, bad man.
 CFLAGS="$CFLAGS -I/usr/local/include -I/opt/include -I\$(top_srcdir)"