diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-12 08:22:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-12 08:22:16 +0800 |
commit | 4a67e80dce6d56d36b935d3369e01d70fc7bdbf2 (patch) | |
tree | 6a9212c2cce22872cce97dc4c896d9204a6181b0 | |
parent | c6f45250406730725873e3f7f337a5574ae72c6f (diff) | |
download | gsoc2013-evolution-4a67e80dce6d56d36b935d3369e01d70fc7bdbf2.tar.gz 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-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -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 |