configure do not recognize iconv_open
Status: Beta
Brought to you by:
azzy_
See <iconv.h>. iconv_open is replaced by libiconv_open. So the test code of configure,
#ifdef __cplusplus
extern "C"
#endif
char iconv_open ();
int
main ()
{
return iconv_open ();
;
return 0;
}
should change to
#ifdef __cplusplus
extern "C"
#endif
char libiconv_open ();
int
main ()
{
return libiconv_open ();
;
return 0;
}
Not really. At least glibc and OpenBSD libc both have integrated iconv, which does not have libiconv_open. So this would break it for most people. Can you provide more details about the environment?