ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/acinclude.m4
(Generate patch)

Comparing ircd-hybrid-7.2/acinclude.m4 (file contents):
Revision 925 by michael, Mon Nov 12 20:59:02 2007 UTC vs.
Revision 989 by michael, Sun Aug 16 14:02:51 2009 UTC

# Line 4 | Line 4 | dnl {{{ ax_check_lib_ipv4
4   AC_DEFUN([AX_CHECK_LIB_IPV4],[
5    AC_SEARCH_LIBS([socket],[socket],,[AC_MSG_ERROR([socket library not found])])
6    AC_CHECK_FUNCS([inet_aton inet_ntop inet_pton])
7 <  AC_CHECK_TYPES([struct sockaddr_in, struct sockaddr_storage, struct addrinfo],,,[#include <netdb.h>])
8 <  AC_CHECK_MEMBERS([struct sockaddr_in.sin_len],,,[#include <netdb.h>])
7 >  AC_CHECK_TYPES([struct sockaddr_in, struct sockaddr_storage, struct addrinfo],,,[#include <sys/types.h>
8 >   #include <sys/socket.h>
9 >   #include <netdb.h>
10 >  ])
11 >  AC_CHECK_MEMBERS([struct sockaddr_in.sin_len],,,[#include <sys/types.h>
12 >  <sys/socket.h>])
13   ])dnl }}}
14   dnl {{{ ax_check_lib_ipv6
15   AC_DEFUN([AX_CHECK_LIB_IPV6],[
16 <  AC_CHECK_TYPES([struct sockaddr_in6],,[AC_DEFINE([IPV6],[1],[Define to 1 if you have IPv6 support.])],,[#include <netdb.h>])
16 >  AC_CHECK_TYPES([struct sockaddr_in6],,[AC_DEFINE([IPV6],[1],[Define to 1 if you have IPv6 support.])],,[#include <sys/types.h>
17 >   <sys/socket.h>])
18   ])dnl }}}
19   dnl {{{ ax_arg_enable_ioloop_mechanism (FIXME)
20   AC_DEFUN([AX_ARG_ENABLE_IOLOOP_MECHANISM],[
# Line 181 | Line 186 | dnl {{{ ax_arg_enable_warnings
186   AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[
187    AC_ARG_ENABLE([warnings],[AC_HELP_STRING([--enable-warnings],[Enable compiler warnings.])],[warnings="$enableval"],[warnings="no"])
188    if test "$warnings" = "yes" ; then
189 <    CFLAGS="-Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
189 >    CFLAGS="-Wall -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused -Wundef"
190    fi
191   ])dnl }}}
192   dnl {{{ ax_arg_enable_syslog

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)