fontconfig needs configure option to use gnu iconv (bug 4083).

Existing Solaris workaround was broken; mis-matching values caused the test
for libiconv to always fail.
This commit is contained in:
Keith Packard 2007-10-25 01:51:38 -07:00
parent 7f46cdbb87
commit 349182784f
1 changed files with 2 additions and 2 deletions

View File

@ -186,8 +186,8 @@ else
AC_TRY_LINK([#include <iconv.h>], AC_TRY_LINK([#include <iconv.h>],
[iconv_open ("from", "to");], [iconv_open ("from", "to");],
[use_iconv=true], [use_iconv=1],
[use_iconv=false]) [use_iconv=0])
if test x$use_iconv = x1; then if test x$use_iconv = x1; then
ICONV_LIBS="-liconv" ICONV_LIBS="-liconv"