[cvs] SF.net SVN: bogofilter:[6853] trunk/bogofilter
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2009-08-01 09:18:17
|
Revision: 6853 http://bogofilter.svn.sourceforge.net/bogofilter/?rev=6853&view=rev Author: m-a Date: 2009-08-01 09:18:08 +0000 (Sat, 01 Aug 2009) Log Message: ----------- Carefully update configure.ac. We now require automake 1.9 and autoconf 2.60. AC_TYPE_SIGNAL is gone, it was obsolete and unused. We now check the canonical host (rather than target) when checking particular system features; target is only used for compilers, binutils, and similar. Enabled AC_USE_SYSTEM_EXTENSIONS. Pending older change. Modified Paths: -------------- trunk/bogofilter/NEWS trunk/bogofilter/README.svn trunk/bogofilter/configure.ac Modified: trunk/bogofilter/NEWS =================================================================== --- trunk/bogofilter/NEWS 2009-08-01 02:53:13 UTC (rev 6852) +++ trunk/bogofilter/NEWS 2009-08-01 09:18:08 UTC (rev 6853) @@ -15,8 +15,14 @@ ------------------------------------------------------------------------------- -1.2.1 2009-08-01 (released) +1.2.1 2009-08-01 (released) + 2009-08-01 + * Update configure to use "host" rather than "target", to match the + newer autotools cross-build semantics. Untested. + Developers changing the build system and users who build from SVN + will now need automake 1.9 and autoconf 2.60. + 2009-07-31 * Fix Christian Frommeyer's MIME decoding bug, Ubuntu/Launchpad Bug #320829. As a side effect, also fixes misattribution of MIME bodies Modified: trunk/bogofilter/README.svn =================================================================== --- trunk/bogofilter/README.svn 2009-08-01 02:53:13 UTC (rev 6852) +++ trunk/bogofilter/README.svn 2009-08-01 09:18:08 UTC (rev 6853) @@ -1,16 +1,16 @@ README.svn -- How to build bogofilter from Subversion (SVN) $Id$ -(C) 2002,2007 by Matthias Andree. Freely distributable according to the -terms of the GNU Free Documentation License 1.0. No front- or back-matter -parts, no invariant parts. +(C) 2002,2007,2009 by Matthias Andree. Freely distributable according to +the terms of the GNU Free Documentation License 1.0. No front- or +back-matter parts, no invariant parts. ------------------------------------------------------------------------- After you have checked out bogofilter from SVN, some files are missing, for example, configure, ylwrap and others. These files can be created automatically with recent autoconf and -automake versions. You will need autoconf 2.53 and automake 1.6 or +automake versions. You will need autoconf 2.60 and automake 1.9 or newer. To recreate these files, run: autoreconf -i -s -f Modified: trunk/bogofilter/configure.ac =================================================================== --- trunk/bogofilter/configure.ac 2009-08-01 02:53:13 UTC (rev 6852) +++ trunk/bogofilter/configure.ac 2009-08-01 09:18:08 UTC (rev 6853) @@ -3,7 +3,8 @@ dnl dnl configure.ac for bogofilter dnl (C) Copyright 2003 Clint Adams, Gyepi Sam, David Relson, Matthias Andree -dnl (C) Copyright 2004,2005,2006 David Relson, Matthias Andree +dnl (C) Copyright 2008 Clint Adams, David Relson, Matthias Andree +dnl (C) Copyright 2004-2007, 2009 David Relson, Matthias Andree dnl dnl ******************************************************** dnl "Magic" environment variables for this script are: @@ -19,11 +20,11 @@ dnl AC_INIT([bogofilter],[1.2.1]) dnl -AC_PREREQ(2.59) -dnl AC_PREREQ(2.60) dnl if AC_USE_SYSTEM_EXTENSIONS is desired +AC_PREREQ(2.60) +AC_USE_SYSTEM_EXTENSIONS AC_CONFIG_SRCDIR([src/bogofilter.c]) -AC_CANONICAL_TARGET -AM_INIT_AUTOMAKE([foreign 1.8 dist-bzip2 no-installinfo]) +AC_CANONICAL_HOST +AM_INIT_AUTOMAKE([foreign 1.9 dist-bzip2 no-installinfo]) AC_CONFIG_HEADERS([src/config.h:config.in]) AC_PROG_AWK @@ -88,7 +89,7 @@ fi dnl crutch for b0rked S/390 gcc: -if test "x$target_cpu" = "xs390" && test "x$GCC" = "xyes" ; then +if test "x$host_cpu" = "xs390" && test "x$GCC" = "xyes" ; then case ${CFLAGS} in *-O*) OCFLAGS="$CFLAGS" @@ -105,7 +106,7 @@ dnl crutch for b0rked dgux gcc 2.7 (-g gives unresolved symbols in GSL), dnl gcc 2.8.1 is fine according to Message-ID: <199805061718.NAA01272@monty> dnl see http://list-archive.xemacs.org/xemacs-beta/199805/msg00291.html -case "$target_os" in +case "$host_os" in dgux*) if test "$GCC" = yes ; then case "`$CC --version`" in @@ -378,7 +379,6 @@ AC_TYPE_PID_T AC_TYPE_SIZE_T AC_TYPE_UID_T -AC_TYPE_SIGNAL AC_FUNC_SELECT_ARGTYPES AC_CHECK_TYPES([uint, ulong, uint32_t, u_int32_t, int32_t, int16_t, u_int16_t, uint16_t, u_int8_t, ssize_t]) AC_CHECK_TYPE(u_long, unsigned long) @@ -822,7 +822,7 @@ AM_CONDITIONAL(NEED_GETOPT,test $ac_cv_func_getopt_long != yes) have_dosish_system=no -case "${target}" in +case "${host}" in *-*-mingw32*) # special stuff for Windoze NT have_dosish_system=yes This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |