[or-cvs] Apply Matt Ghali"s --with-syslog-facility patch

Peter Palfrader weasel at seul.org
Wed Feb 1 02:15:46 UTC 2006


Update of /home/or/cvsroot/tor
In directory moria:/tmp/cvs-serv28294

Modified Files:
	configure.in 
Log Message:
Apply Matt Ghali's --with-syslog-facility patch

Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -p -d -r1.258 -r1.259
--- configure.in	27 Jan 2006 19:38:16 -0000	1.258
+++ configure.in	1 Feb 2006 02:15:44 -0000	1.259
@@ -429,6 +429,13 @@ if [[ $dmalloc -eq 1 ]]; then
   AC_DEFINE(DMALLOC_FUNC_CHECK, 1, [Enable dmalloc's malloc function check])
 fi
 
+# Allow user to specify an alternate syslog facility
+AC_ARG_WITH(syslog-facility,
+[  --with-syslog-facility=LOG syslog facility to use (default=LOG_DAEMON)],
+syslog_facility="$withval", syslog_facility="LOG_DAEMON")
+AC_DEFINE_UNQUOTED(LOGFACILITY,$syslog_facility,[name of the syslog facility])
+AC_SUBST(LOGFACILITY)
+
 # Check for gethostbyname_r in all its glorious incompatible versions.
 #   (This logic is based on that in Python's configure.in)
 AH_TEMPLATE(HAVE_GETHOSTBYNAME_R,



More information about the tor-commits mailing list