[ircd-ratbox] two autoconf patches: don't use local libtdl unconditionally and add --with-rundir option

Simon Bertrang janus at errornet.de
Sun Feb 8 11:26:13 UTC 2009


On Sun, Feb 08, 2009 at 12:22:55PM +0100, Simon Bertrang wrote:
> Hi,
> while porting ircd-ratbox i've adjusted the configure.ac script to
>  1) use the libtdl the system has already installed
>  2) accept a --with-rundir argument to specify where the pidfile is
>     written to
> 
> Further i've noticed that you don't actually need the most recent
> autoconf/automake versions, 2.62/1.9 work just fine over here, but
> that's another story.
> 
> Attached you find two diffs against trunk.
> 

Sigh, forgot to merge the config.h patch from my other working copy...
add the attached diff on top.

Regards,
Simon
-------------- next part --------------
Index: include/config.h
===================================================================
--- include/config.h	(revision 26450)
+++ include/config.h	(working copy)
@@ -61,7 +61,7 @@
 #define DBPATH   ETCPATH "/ban.db"
 #define MPATH    ETCPATH "/ircd.motd"	/* MOTD file */
 #define LPATH    LOGPATH "/ircd.log"	/* ircd logfile */
-#define PPATH    ETCPATH "/ircd.pid"	/* pid file */
+#define PPATH    RUN_DIR "/ircd.pid"	/* pid file */
 #define OPATH    ETCPATH "/opers.motd"	/* oper MOTD file */
 
 /* HANGONGOODLINK and HANGONGOODLINK


More information about the ircd-ratbox mailing list