openbsd-ports/net/ircd-ratbox/patches/patch-configure_ac
simon cef96c6e30 import ircd-ratbox
ircd-ratbox is an advanced, stable and fast ircd.
It is the primary ircd used on EFNet, combining the stability of an ircd
required for a large production network together with a rich set of
features, making it also suitable for use on smaller networks. 

Features include:
 * optional SSL support to enable encrypted connections between clients
   and servers, as well as server to server links
 * support for SSL only channels (channel mode +S)
 * uses sqlite3 for handling and storing k/x/d lines
 * support for global CIDR limits
 * provides adminwall command allowing admins to broadcast messages to
   each other
 * support to force nick changes

request, testing and feedback by Michiel van Baak
setusercontext() idea from form@ via bernd@
tested on armish and ok by sthen@
2009-02-09 09:41:54 +00:00

49 lines
1.7 KiB
Plaintext

$OpenBSD: patch-configure_ac,v 1.1.1.1 2009/02/09 09:41:54 simon Exp $
--- configure.ac.orig Wed Dec 10 15:26:42 2008
+++ configure.ac Sat Feb 7 13:30:15 2009
@@ -5,8 +5,8 @@ dnl TODO: clean up all the OpenSSL and shared module c
dnl the most major changes have already been made and it looks like
dnl said functions need to be just about as complex as they already are.
-AC_PREREQ(2.63)
-AUTOMAKE_OPTIONS = 1.10
+AC_PREREQ(2.62)
+AUTOMAKE_OPTIONS = 1.9
dnl Sneaky way to get an Id tag into the configure script
AC_COPYRIGHT([$Id: patch-configure_ac,v 1.1.1.1 2009/02/09 09:41:54 simon Exp $])
AC_INIT([ircd-ratbox],[devel])
@@ -83,7 +83,7 @@ AC_PROG_LIBTOOL
LIBTOOL="$LIBTOOL --silent"
-AC_CONFIG_SUBDIRS(libltdl libratbox)
+AC_CONFIG_SUBDIRS(libratbox)
case "$host_os" in
*cygwin*)
@@ -357,6 +357,24 @@ AC_HELP_STRING([--with-logdir=DIR],
AC_MSG_RESULT(no)
AC_DEFINE_DIR(LOG_DIR, logdir, [Prefix where to write logfiles.])
AC_SUBST_DIR([logdir])]
+)
+
+dnl **********************************************************************
+dnl Check for --with-rundir
+dnl **********************************************************************
+
+AC_MSG_CHECKING([whether to modify rundir])
+AC_ARG_WITH(rundir,
+AC_HELP_STRING([--with-rundir=DIR],
+ [Directory where to write runtime files.]),
+ [ rundir=`echo $withval | sed 's/\/$//'`
+ AC_MSG_RESULT(yes)
+ AC_DEFINE_DIR(RUN_DIR, rundir, [Prefix where to write runtime files.])
+ AC_SUBST_DIR([rundir]) ],
+ [ rundir='${localstatedir}/run'
+ AC_MSG_RESULT(no)
+ AC_DEFINE_DIR(RUN_DIR, rundir, [Prefix where to write runtime files.])
+ AC_SUBST_DIR([rundir])]
)
dnl **********************************************************************