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:
parent
7f46cdbb87
commit
349182784f
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue