iconv-test

This commit is contained in:
p.kosyh 2010-07-28 12:18:14 +00:00
parent 8a4587c9c5
commit 7bb86e3b57

View file

@ -119,8 +119,8 @@ EOF
echo $cc
echo -n "Checking iconv...("
echo -n "$cc /tmp/iconv-test.c -o iconv-test)..."
if ! $cc /tmp/iconv-test.c -o iconv-test; then
if ! $cc /tmp/iconv-test.c -liconv -o iconv-test; then
if ! $cc /tmp/iconv-test.c -o /tmp/iconv-test; then
if ! $cc /tmp/iconv-test.c -liconv -o /tmp/iconv-test; then
echo -n "failed. Build without iconv.".
else
CFLAGS="$CFLAGS -D_HAVE_ICONV"