One example program is GNU binutils and the BFD library As follows: configure.in : line 197
AC_CHECK_DECLS(basename) I guess, if they have added AC_CHECK_HEADERS(libgen.h) everything would have been OK. Nothing to do with autoconf then? > -----Original Message----- > From: Paul Eggert [mailto:] > autoconf itself doesn't test for the basename function (in C), > only for the basename program (in the shell). Perhaps > your message is about some use of autoconf in some other > program, but if so, please direct the message to the appropriate > list for that program.