comparison configure.ac @ 2162:a464da684307

[gaim-migrate @ 2172] couple fixes. Max Horn told me about one of them. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 24 Aug 2001 01:36:05 +0000
parents 7b68621e26db
children f47ff201c53c
comparison
equal deleted inserted replaced
2161:757e10018950 2162:a464da684307
30 30
31 dnl Checks for library functions. 31 dnl Checks for library functions.
32 AC_TYPE_SIGNAL 32 AC_TYPE_SIGNAL
33 AC_FUNC_STRFTIME 33 AC_FUNC_STRFTIME
34 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) 34 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo)
35 AC_TRY_COMPILE(sys/socket.h, typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),) 35 AC_TRY_COMPILE([#include <sys/types.h>
36 #include <sys/socket.h>], typedef unsigned int socklen_t;, AC_DEFINE(NEED_SOCKLEN_T),)
36 37
37 dnl Checks for getopt in standard library 38 dnl Checks for getopt in standard library
38 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) 39 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
39 AC_SUBST(LIBOBJS) 40 AC_SUBST(LIBOBJS)
40 41