diff options
-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 |