aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--configure.ac6
2 files changed, 8 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index db7497cd..68572ccd 100644
--- a/NEWS
+++ b/NEWS
@@ -45,12 +45,17 @@ be removed from a 6.4.0 or newer release.)
fetchmail 6.3.10 (not yet released):
# BUGFIXES
+* Fix misuse of canonical autoconf target as _TARGET when it should have been
+ _HOST. Report and patch courtesy of Diego E. "Flameeyes" Pettenò.
+ Details: http://blog.flameeyes.eu/2009/01/01/the-canonical-target
* Do not lose PS_MAXFETCH (13) exit status when hitting maxpoll. Reported by
Michelle Konzack, Debian Bug#508667.
# TRANSLATION UPDATES AND ADDITIONS (ordered by language name):
* [it] Italian (Vincenzo Campanella)
+
+
fetchmail 6.3.9 (2008-11-16):
# SECURITY AND CRITICAL BUG FIXES:
diff --git a/configure.ac b/configure.ac
index 88a004f0..96aedeb2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,7 @@ AC_CONFIG_SRCDIR([fetchmail.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_LIBOBJ_DIR([.])
-AC_CANONICAL_TARGET
+AC_CANONICAL_HOST
dnl automake options are in Makefile.am
AC_PREREQ(2.60)
@@ -88,7 +88,7 @@ AC_PROG_MAKE_SET
AC_PROG_YACC
# Check for OS special cases
-case $target_os in
+case $host_os in
darwin*)
AC_MSG_NOTICE(found Darwin - Adding -DBIND_8_COMPAT to CFLAGS)
CPPFLAGS="$CPPFLAGS -DBIND_8_COMPAT"
@@ -498,7 +498,7 @@ if test "$fm_cv_getaddrinfo" = yes ; then
AC_MSG_CHECKING(if your getaddrinfo is async-signal-safe)
gai_ts=no
dnl we have getaddrinfo() - check if the OS is known to have a async-signal-safe implementation
- case $target_os in
+ case $host_os in
darwin9*) gai_ts=yes ;;
linux*) gai_ts=yes ;;
freebsd5.5|freebsd6*|freebsd7*) gai_ts=yes ;;