/[cvs]/eggdrop1.9/aclocal.m4
ViewVC logotype

Diff of /eggdrop1.9/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.44 by guppy, Thu Jul 26 04:07:48 2001 UTC revision 1.45 by drummer, Thu Jul 26 17:05:01 2001 UTC
# Line 1278  AC_MSG_RESULT([not found]) Line 1278  AC_MSG_RESULT([not found])
1278    
1279  ])  ])
1280  dnl  dnl
1281    
1282    
1283    dnl  EGG_ENABLE_IPV6()
1284    dnl
1285    AC_DEFUN(EGG_ENABLE_IPV6, [dnl
1286    AC_ARG_ENABLE(ipv6,
1287    [  --enable-ipv6           Enable IPV6 support.
1288      --disable-ipv6          Disable IPV6 support. ],
1289        [ ac_cv_ipv6=$enableval ], [ ac_cv_ipv6='no' ])
1290    
1291    if test "$ac_cv_ipv6" = "yes" ; then
1292            AC_DEFINE(IPV6)
1293            echo "Using IPv6 support."
1294            echo "Warning! This option requires kernel IPv6 support!"
1295            echo "If your kernel does not support IPv6 your bot won't be able"
1296            echo "to connect to any IPv4 or IPv6 host!"
1297            MAKEIPV6="--enable-ipv6"
1298    else
1299            MAKEIPV6=""
1300    fi
1301    AC_SUBST(MAKEIPV6)dnl
1302    ])dnl
1303    
1304    
1305    dnl EGG_TYPE_SOCKLEN_t
1306    dnl
1307    AC_DEFUN(EGG_TYPE_SOCKLEN_T, [dnl
1308    AC_CACHE_CHECK(for socklen_t, egg_cv_var_socklen_t, [
1309    AC_TRY_COMPILE([#include <sys/param.h>
1310    #include <sys/socket.h>
1311    #include <sys/types.h>
1312    ], [
1313    socklen_t x;
1314    x = 0;
1315    ], egg_cv_var_socklen_t="yes", egg_cv_var_socklen_t="no")
1316    ])
1317    if test "$egg_cv_var_socklen_t" = "no"
1318    then
1319      AC_DEFINE(socklen_t, unsigned)dnl
1320    fi
1321    ])dnl
1322    

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23