bjarni@3311: /* $Id$ */ bjarni@3311: bjarni@3311: #include bjarni@3311: #include bjarni@3311: #include bjarni@3311: bjarni@3311: /* this is a pretty simple app, that will return 1 if it manages to compile and execute bjarni@3311: * This means that it can be used by the makefile to detect if iconv is present on the current system bjarni@3311: * no iconv means this file fails and will return nothing */ bjarni@3311: bjarni@3311: int main () bjarni@3311: { bjarni@3311: iconv_t cd = iconv_open("",""); bjarni@3311: iconv(cd,NULL,NULL,NULL,NULL); bjarni@3311: iconv_close(cd); bjarni@3311: printf("1\n"); bjarni@3311: return 0; bjarni@3311: }