/[svn]/ircd-hybrid-7.2/acinclude.m4
ViewVC logotype

Diff of /ircd-hybrid-7.2/acinclude.m4

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

revision 908 by stu, Sun Nov 4 23:21:51 2007 UTC revision 912 by michael, Wed Nov 7 22:47:44 2007 UTC
# Line 16  AC_DEFUN([AX_CHECK_LIB_CRYPT],[ Line 16  AC_DEFUN([AX_CHECK_LIB_CRYPT],[
16          AC_SEARCH_LIBS(crypt, [crypt descrypt],,)          AC_SEARCH_LIBS(crypt, [crypt descrypt],,)
17    AM_CONDITIONAL([HAVE_CRYPT],[test "$ac_cv_search_crypt" = "none required"])    AM_CONDITIONAL([HAVE_CRYPT],[test "$ac_cv_search_crypt" = "none required"])
18  ])dnl }}}  ])dnl }}}
 dnl {{{ ax_check_lib_openssl  
 AC_DEFUN([AX_CHECK_LIB_OPENSSL],[  
   AC_CHECK_HEADER([openssl/sha.h],,[AC_MSG_ERROR([openssl header files not found])])  
   AC_CHECK_LIB([ssl],[SHA_Init],,[AC_MSG_ERROR([openssl library not found])])  
   AC_CHECK_LIB([crypto],[EVP_MD_CTX_init],,[AC_MSG_ERROR([openssl library not found])])  
 ])dnl }}}  
19  dnl {{{ ax_arg_enable_ioloop_mechanism (FIXME)  dnl {{{ ax_arg_enable_ioloop_mechanism (FIXME)
20  AC_DEFUN([AX_ARG_ENABLE_IOLOOP_MECHANISM],[  AC_DEFUN([AX_ARG_ENABLE_IOLOOP_MECHANISM],[
21    dnl {{{ allow the user to specify desired mechanism    dnl {{{ allow the user to specify desired mechanism
# Line 148  main () { return 1; } /* F_SETSIG not de Line 142  main () { return 1; } /* F_SETSIG not de
142    AC_DEFINE_UNQUOTED([USE_IOPOLL_MECHANISM],[$use_iopoll_mechanism],[use this iopoll mechanism])    AC_DEFINE_UNQUOTED([USE_IOPOLL_MECHANISM],[$use_iopoll_mechanism],[use this iopoll mechanism])
143    dnl }}}    dnl }}}
144  ])dnl }}}  ])dnl }}}
 dnl {{{ ax_arg_disable_block_alloc  
 AC_DEFUN([AX_ARG_DISABLE_BLOCK_ALLOC],[  
   AC_ARG_ENABLE([block-alloc],[AC_HELP_STRING([--disable-block-alloc],[Disable block alloc.])],[block_alloc="$enableval"],[block_alloc="yes"])  
   if test "$block_alloc" = "no" ; then  
     use_block_alloc=0  
   else  
     use_block_alloc=1  
   fi  
   AC_DEFINE_UNQUOTED([USE_BLOCK_ALLOC],[$use_block_alloc],[use block alloc])  
 ])dnl }}}  
 dnl {{{ ax_arg_disable_shared_modules (FIXME)  
 AC_DEFUN([AX_ARG_DISABLE_SHARED_MODULES],[  
   AC_ARG_ENABLE([shared-modules],[AC_HELP_STRING([--disable-shared-modules],[Disable shared modules.])],[shared_modules="$enableval"],[shared_modules="yes"])  
   AC_CHECK_HEADERS([dlfcn.h link.h])  
   AC_CHECK_FUNCS([dlopen dlinfo])  
   if test "$shared_modules" = "yes" ; then  
     use_shared_modules="yes"  
     AC_CHECK_LIB([dl],[dlopen],,[AC_MSG_ERROR([dl library not found])])  
     AC_DEFINE([USE_SHARED_MODULES],[1],[Define to 1 if you want to use shared modules.])  
   else  
     use_shared_modules="no"  
     AC_MSG_WARN([shared module support has been disabled per supplied configure option])  
   fi  
   AM_CONDITIONAL([USE_SHARED_MODULES],[test "$shared_modules" = "yes"])  
 ])dnl }}}  
145  dnl {{{ ax_arg_with_topiclen  dnl {{{ ax_arg_with_topiclen
146  AC_DEFUN([AX_ARG_WITH_TOPICLEN],[  AC_DEFUN([AX_ARG_WITH_TOPICLEN],[
147    AC_ARG_WITH([topiclen],[AC_HELP_STRING([--with-topiclen=<value>],[Set topic length (default 160).])],[topiclen="$withval"],[topiclen="160"])    AC_ARG_WITH([topiclen],[AC_HELP_STRING([--with-topiclen=<value>],[Set topic length (default 160).])],[topiclen="$withval"],[topiclen="160"])
# Line 285  AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[ Line 254  AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[
254      CFLAGS="-Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"      CFLAGS="-Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wno-unused"
255    fi    fi
256  ])dnl }}}  ])dnl }}}
 dnl {{{ ax_arg_enable_efence  
 AC_DEFUN([AX_ARG_ENABLE_EFENCE],[  
   AC_ARG_ENABLE([efence],[AC_HELP_STRING([--enable-efence],[Enable compilation with ElectricFence.])],[efence="$enableval"],[efence="no"])  
   if test "$efence" = "yes" ; then  
     AC_SEARCH_LIBS([malloc],[efence],,[AC_MSG_ERROR([efence library not found])])  
   fi  
 ])dnl }}}  
257  dnl {{{ ax_arg_enable_syslog  dnl {{{ ax_arg_enable_syslog
258  AC_DEFUN([AX_ARG_ENABLE_SYSLOG],[  AC_DEFUN([AX_ARG_ENABLE_SYSLOG],[
259    AC_CHECK_HEADERS([syslog.h sys/syslog.h])    AC_CHECK_HEADERS([syslog.h sys/syslog.h])

Legend:
Removed from v.908  
changed lines
  Added in v.912

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28