dovecot-1.2: configure: Test strtoumax() and strtoimax() by link...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jan 8 19:22:31 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/da02a1d15783
changeset: 8601:da02a1d15783
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Jan 08 12:22:11 2009 -0500
description:
configure: Test strtoumax() and strtoimax() by linking instead of just compiling (Tru64 fix).

diffstat:

1 file changed, 3 insertions(+), 2 deletions(-)
configure.in |    5 +++--

diffs (23 lines):

diff -r 7c12e20f1eee -r da02a1d15783 configure.in
--- a/configure.in	Thu Jan 08 11:52:21 2009 -0500
+++ b/configure.in	Thu Jan 08 12:22:11 2009 -0500
@@ -375,8 +375,9 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_at
 	       walkcontext dirfd clearenv malloc_usable_size clock_gettime)
 
 dnl strtoimax and strtoumax are macros in HP-UX, so inttypes.h must be included
+dnl Link instead of just compiling since there's something wrong with Tru64
 AC_MSG_CHECKING([for strtoimax])
-AC_TRY_COMPILE([
+AC_TRY_LINK([
   #include <inttypes.h>
 ], [
   strtoimax(0, 0, 0);
@@ -388,7 +389,7 @@ AC_TRY_COMPILE([
 ])
 
 AC_MSG_CHECKING([for strtoumax])
-AC_TRY_COMPILE([
+AC_TRY_LINK([
   #include <inttypes.h>
 ], [
   strtoumax(0, 0, 0);


More information about the dovecot-cvs mailing list