From f1b741951c6523072427ee8f0a39fff1367eac0c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 18 Apr 2006 09:19:26 +0000 Subject: [PATCH] Added check for libiconv_open (for MingW) - patch provided by Mark Cave-Ayland git-svn-id: http://svn.osgeo.org/postgis/trunk@2329 b70326c6-7e19-0410-871a-916f4a2858ee --- configure.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index e93429844..189f31ff4 100644 --- a/configure.in +++ b/configure.in @@ -37,10 +37,15 @@ if test "$USE_ICONV" = 1; then USE_ICONV=1 ICONV_LDFLAGS=-liconv , - AC_CHECK_LIB(c, iconv_open, + AC_CHECK_LIB(iconv, libiconv_open, USE_ICONV=1 + ICONV_LDFLAGS=-liconv , - USE_ICONV=0 + AC_CHECK_LIB(c, iconv_open, + USE_ICONV=1 + , + USE_ICONV=0 + ) ) ) fi -- 2.50.0