aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
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 /configure.in
parentc6f45250406730725873e3f7f337a5574ae72c6f (diff)
downloadgsoc2013-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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
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