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
This commit is contained in:
Matthew Barnes
2007-04-12 00:22:16 +00:00
committed by Matthew Barnes
parent c6f4525040
commit 4a67e80dce
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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