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

Comparing ircd-hybrid-8/acinclude.m4 (file contents):
Revision 1156 by michael, Tue Aug 9 20:29:20 2011 UTC vs.
Revision 1292 by michael, Sun Feb 12 20:36:27 2012 UTC

# Line 190 | Line 190 | AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[
190      CFLAGS="-Wall -Wextra -Wno-unused -Wcast-qual -Wcast-align -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wredundant-decls -Wshadow -Wwrite-strings -Wundef"
191    fi
192   ])dnl }}}
193 dnl {{{ ax_arg_enable_syslog
194 AC_DEFUN([AX_ARG_ENABLE_SYSLOG],[
195  AC_CHECK_HEADERS([syslog.h sys/syslog.h])
196  AC_ARG_ENABLE([syslog],[AC_HELP_STRING([--enable-syslog="EVENTS"],[Enable syslog for events: users oper (space separated in quotes; default: disabled).])],[syslog="$enableval"],[syslog="no"])
197  if test "$enableval" != "no" ; then
198    for option in $enableval ; do
199      case "$option" in
200        users) AC_DEFINE([SYSLOG_USERS],[1],[Send user log stuff to syslog.]) ;;
201        oper) AC_DEFINE([SYSLOG_OPER],[1],[Send oper log stuff to syslog.]) ;;
202        yes) : ;;
203        *) AC_MSG_ERROR([invalid value for --enable-syslog: $option]) ;;
204      esac
205    done
206    AC_DEFINE([USE_SYSLOG],[1],[Define to 1 if you want to use syslog.])
207  fi
208 ])dnl }}}
209 dnl {{{ ax_arg_with_syslog_facility
210 AC_DEFUN([AX_ARG_WITH_SYSLOG],[
211  AC_ARG_WITH([syslog-facility],[AC_HELP_STRING([--with-syslog-facility=LOG],[Define the syslog facility to use (default: LOG_LOCAL4)])],[syslog_facility="$withval"],[syslog_facility="LOG_LOCAL4"])
212  AC_DEFINE_UNQUOTED([LOG_FACILITY],[$syslog_facility],[Set to syslog facility to use.])
213 ])dnl }}}
193   dnl {{{ ac_define_dir
194   dnl http://autoconf-archive.cryp.to/ac_define_dir.html
195   AC_DEFUN([AC_DEFINE_DIR], [

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines