/[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.45 by drummer, Thu Jul 26 17:05:01 2001 UTC revision 1.46 by drummer, Fri Jul 27 00:46:27 2001 UTC
# Line 1294  if test "$ac_cv_ipv6" = "yes" ; then Line 1294  if test "$ac_cv_ipv6" = "yes" ; then
1294          echo "Warning! This option requires kernel IPv6 support!"          echo "Warning! This option requires kernel IPv6 support!"
1295          echo "If your kernel does not support IPv6 your bot won't be able"          echo "If your kernel does not support IPv6 your bot won't be able"
1296          echo "to connect to any IPv4 or IPv6 host!"          echo "to connect to any IPv4 or IPv6 host!"
         MAKEIPV6="--enable-ipv6"  
 else  
         MAKEIPV6=""  
1297  fi  fi
1298  AC_SUBST(MAKEIPV6)dnl  AC_SUBST(MAKEIPV6)dnl
1299  ])dnl  ])dnl
1300    
1301    
1302  dnl EGG_TYPE_SOCKLEN_t  dnl EGG_TYPE_SOCKLEN_T
1303  dnl  dnl
1304  AC_DEFUN(EGG_TYPE_SOCKLEN_T, [dnl  AC_DEFUN(EGG_TYPE_SOCKLEN_T, [dnl
1305  AC_CACHE_CHECK(for socklen_t, egg_cv_var_socklen_t, [  AC_CACHE_CHECK(for socklen_t, egg_cv_var_socklen_t, [
# Line 1320  then Line 1317  then
1317  fi  fi
1318  ])dnl  ])dnl
1319    
1320    
1321    dnl EGG_INADDR_LOOPBACK
1322    dnl
1323    AC_DEFUN(EGG_INADDR_LOOPBACK, [dnl
1324    AC_MSG_CHECKING(for INADDR_LOOPBACK)
1325    AC_CACHE_VAL(adns_cv_decl_inaddrloopback,[
1326     AC_TRY_COMPILE([
1327    #include <sys/socket.h>
1328    #include <netinet/in.h>
1329    #include <arpa/inet.h>
1330     ],[
1331      INADDR_LOOPBACK;
1332     ],
1333     adns_cv_decl_inaddrloopback=yes,
1334     adns_cv_decl_inaddrloopback=no)])
1335    if test "$adns_cv_decl_inaddrloopback" = yes; then
1336     AC_MSG_RESULT(found)
1337    else
1338     AC_MSG_RESULT([not in standard headers, urgh...])
1339     AC_CHECK_HEADER(rpc/types.h,[
1340      AC_DEFINE(HAVEUSE_RPCTYPES_H)
1341     ],[
1342      AC_MSG_ERROR([cannot find INADDR_LOOPBACK or rpc/types.h])
1343     ])
1344    fi
1345    ])dnl

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

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23