aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-04-12 08:22:16 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-04-12 08:22:16 +0800
commit4a67e80dce6d56d36b935d3369e01d70fc7bdbf2 (patch)
tree6a9212c2cce22872cce97dc4c896d9204a6181b0
parentc6f45250406730725873e3f7f337a5574ae72c6f (diff)
downloadgsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.gz
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.bz2
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.lz
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.xz
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.zst
gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.zip
Make the libiconv test program return a value. (#388789)
2007-04-11 Matthew Barnes <mbarnes@redhat.com> * configure.in: Make the libiconv test program return a value. (#388789) svn path=/trunk/; revision=33420
-rw-r--r--ChangeLog5
-rw-r--r--configure.in2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f9b876885..81cdda5e04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-11 Matthew Barnes <mbarnes@redhat.com>
+
+ * configure.in:
+ Make the libiconv test program return a value. (#388789)
+
2007-04-03 Matthew Barnes <mbarnes@redhat.com>
* evolution-plugin.pc.in: Require libxml-2.0.
diff --git a/configure.in b/configure.in
index 6c0d098f39..0f5831f65d 100644
--- a/configure.in
+++ b/configure.in
@@ -148,11 +148,13 @@ CFLAGS="$CFLAGS $ICONV_CFLAGS"
LIBS="$LIBS $ICONV_LIBS -liconv"
AC_CACHE_CHECK(for iconv in -liconv, ac_cv_libiconv, AC_TRY_RUN([
#include <iconv.h>
+#include <stdlib.h>
int main (int argc, char **argv)
{
iconv_t cd;
cd = iconv_open ("UTF-8", "ISO-8859-1");
+ exit (0);
}
], ac_cv_libiconv=yes, ac_cv_libiconv=no, ac_cv_libiconv=no))
if test $ac_cv_libiconv = yes; then