OSDN Git Service

Move the iconv test to the bottom of configure.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 5 Mar 2013 23:57:51 +0000 (00:57 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 5 Mar 2013 23:57:51 +0000 (00:57 +0100)
commit34e7a3d74cce2ba79905b8ed965c97c119364b39
tree4ab90e29f0337ada9ffb6347e2f997d0dee57fce
parentb45e85ab7e5e3fc3f1b408fe2fd86c53ba649aa0
Move the iconv test to the bottom of configure.

This fixes a possible mis-detection of iconv on OS X.
OS X with macports often has two version of libiconv.2.dylib
installed, one with symbols like "_iconv_open" and one with
"_libiconv_open", so test for iconv with all flags to make
sure the detection uses the same library as the actual
compilation / linking.

Tested-by: Paul Sturbaum
configure