diff options
| author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-12 00:17:04 +0000 |
|---|---|---|
| committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-12 00:17:04 +0000 |
| commit | 1e7a73dece6bc663d68f939d4dbf5b5837009b95 (patch) | |
| tree | bc98698e02f814064eb48aa5cb6432ad049af167 /configure.in | |
| parent | 5303b4aeb29ca7455102cfad52f2369fcc8fedd9 (diff) | |
| download | evolution-data-server-1e7a73dece6bc663d68f939d4dbf5b5837009b95.tar.gz | |
Make the libiconv test program returns a value. (#388789)
2007-04-11 Matthew Barnes <mbarnes@redhat.com>
* configure.in:
Make the libiconv test program returns a value. (#388789)
svn path=/trunk/; revision=7697
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 5d23d15d0..12a0aa486 100644 --- a/configure.in +++ b/configure.in @@ -239,11 +239,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 |
