Dear Mojca, > To me this doesn't look like the correct solution, > it would be much better to do it in a similar way > as for example in gnuplot where configure.ac contains > AC_CHECK_FUNCS(... strnlen ...) > and then the code uses > ... Indeed, thanks. I pass the work to Karl since I don't know autoconf. Best, Akira