aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-04-01 23:47:59 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-04-01 23:47:59 +0300
commitc5416aa2097f666cfc7701210872000871f65abb (patch)
tree63d86b6ea0ce908271a195bcdbe04e51e50e7ee6 /configure.ac
parent26ff8a3fed46bd8d11647a70fffc3c62fc7c84e7 (diff)
downloadanubis-c5416aa2097f666cfc7701210872000871f65abb.tar.gz
anubis-c5416aa2097f666cfc7701210872000871f65abb.tar.bz2
Prepare for Guile 2.0: fix obsolete and deprecated calls in Guile code.
* am/guile.m4: Import from Mailutils. * configure.ac: Use AC_DEFINE_UNQUOTED to define a replacement for socklen_t. * src/guile.c (guile_debug): Protect calls to SCM_DEVAL_P &c. by #ifdef GUILE_DEBUG_MACROS (guile_process_proc_handler): Use scm_apply_3 to avoid unwanted evaluation of parameters. (guile_load_path_append_handler) (guile_to_anubis, guile_process_proc): Remove the uses of deprecated Guile functions. * src/logport.c [!HAVE_SCM_T_OFF](scm_t_off): New typedef. (scm_tc16_anubis_error_port) (scm_tc16_anubis_info_port): Change type to scm_t_bits. (_make_anubis_log_port): Use scm_new_port_table_entry instead of the deprecated scm_add_to_port_table. (_anubis_error_port_seek): Fix signature and return type.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 4638ae1..9947012 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,8 @@ dnl
dnl configure.ac
dnl
dnl This file is part of GNU Anubis.
-dnl Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009 The Anubis Team.
+dnl Copyright (C) 2001,2002,2003,2004,2005,2006,2007,2008,2009,
+dnl 2010 The Anubis Team.
dnl
dnl GNU Anubis is free software; you can redistribute it and/or modify it
dnl under the terms of the GNU General Public License as published by the
@@ -48,8 +49,8 @@ AC_TYPE_SIGNAL
AC_CHECK_TYPE(u_char, unsigned char)
AC_CHECK_HEADERS(arpa/inet.h sys/types.h sys/socket.h socket.h locale.h)
-AC_CHECK_TYPE(socklen_t, , AC_DEFINE(socklen_t, int,
-[Define to int if <sys/types.h> does not define]),
+AC_CHECK_TYPE([socklen_t], ,
+[AC_DEFINE_UNQUOTED([socklen_t], [int], [Type to use instead of socklen_t, if <sys/types.h> does not define])],
[
#if HAVE_SYS_TYPES_H
# include <sys/types.h>

Return to:

Send suggestions and report system problems to the System administrator.