]> git.wh0rd.org Git - fontconfig.git/commitdiff
fontconfig needs configure option to use gnu iconv (bug 4083).
authorKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 08:51:38 +0000 (01:51 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 08:51:38 +0000 (01:51 -0700)
Existing Solaris workaround was broken; mis-matching values caused the test
for libiconv to always fail.

configure.in

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