[balsa] Remove obsolete code for using libiconv
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] Remove obsolete code for using libiconv
- Date: Sun, 23 Oct 2016 12:23:13 +0000 (UTC)
commit 46759b8e12ec9c6eb9e6cdee2e88e7034255b239
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Sun Oct 23 08:21:45 2016 -0400
Remove obsolete code for using libiconv
* configure.ac: remove --with-iconv option.
* libbalsa/address-book-ldap.c: do not include iconv.h.
* src/balsa-message.c: ditto.
ChangeLog | 8 ++++++++
configure.ac | 8 --------
libbalsa/address-book-ldap.c | 1 -
src/balsa-message.c | 1 -
4 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a1eb709..a9170d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2016-10-23 Peter Bloomfield <pbloomfield bellsouth net>
+
+ We no longer use libiconv.
+
+ * configure.ac: remove --with-iconv option.
+ * libbalsa/address-book-ldap.c: do not include iconv.h.
+ * src/balsa-message.c: ditto.
+
2016-10-21 Peter Bloomfield <pbloomfield bellsouth net>
Fix deprecation issues in gtk 3.22
diff --git a/configure.ac b/configure.ac
index ac0ae1b..5d2312a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,14 +125,6 @@ AC_ARG_WITH([spell-checker],
[use_spell_checker=$withval],
[use_spell_checker=no])
-AC_ARG_WITH(iconv,
- AC_HELP_STRING([--with-iconv=DIR],
- [Where libiconv is installed]),
- [if test "$with_iconv" != yes -a "$with_iconv" != no ; then
- CPPFLAGS="-I${with_iconv}/include $CPPFLAGS"
- LDFLAGS="-liconv -L${with_iconv}/lib $LDFLAGS"
- fi])
-
AC_ARG_WITH([ldap],
AC_HELP_STRING([--with-ldap=DIR],
[Use OpenLDAP if available (default=no)]),
diff --git a/libbalsa/address-book-ldap.c b/libbalsa/address-book-ldap.c
index 5aa976b..ab2d06d 100644
--- a/libbalsa/address-book-ldap.c
+++ b/libbalsa/address-book-ldap.c
@@ -43,7 +43,6 @@
#include <string.h>
#include <lber.h>
#include <ldap.h>
-#include <iconv.h>
#ifdef HAVE_CYRUS_SASL
#include <sasl.h>
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 0cc5fea..1772fc4 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -26,7 +26,6 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
-#include <iconv.h>
#include <sys/utsname.h>
#include "balsa-app.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]