diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2009-01-04 14:07:07 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2009-01-04 14:07:07 +0000 |
commit | b8a61673414b8fac09903e22225fa452b84a80a8 (patch) | |
tree | fe200ffbc4c7aec116ab92b9994d8e16f9f61c94 /configure.ac | |
parent | 981bb9cbbbe428d171cf584484973abc5f2f02de (diff) | |
download | fetchmail-b8a61673414b8fac09903e22225fa452b84a80a8.tar.gz fetchmail-b8a61673414b8fac09903e22225fa452b84a80a8.tar.bz2 fetchmail-b8a61673414b8fac09903e22225fa452b84a80a8.zip |
Berlios Patch #2525, courtesy of Diego E. "Flameeyes" Pettenò:
"The AC_CANONICAL_TARGET macro and the $target_os variables are used for the
target of compilers and other code-generation tools, and should not be used
during cross-compile of generic software. Replace them with
AC_CANONICAL_HOST and $host_os instead, as they should have been from the
start.
For a breakdown of what host, build and target machines are, please see
http://blog.flameeyes.eu/s/canonical-target ."
svn path=/branches/BRANCH_6-3/; revision=5258
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
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 ;; |