autoconf

How to specify multiple sourcefiles in automake at once

Is there any way around having to specify every sourcefile I create manually in my automake scripts? I've tried several ways of specifying sourcefiles using find -name *.cc or the like. I've also tried finding the list in autoconf and substituting it into the Makefile.am, but automake protested that this is not allowed. If I have to ma...

detect obsolete and incorrect function prototypes with autoconf

I maintain an open source program that builds with autoconf. Right now I'm having a problem with some of my users. They are using a pre-distributed VM from an organization that has an incorrect prototype for strchr in it. Their prototype is: char *strchr(char *,int c); when of course we know it should be: char *strchr(const char *s...

Error with aclocal

I have an error while trying to run aclocal although i have the Autoconf v 2.67 installed configure.ac:6: error: Autoconf version 2.62 or higher is required /usr/share/aclocal-1.11/init.m4:26: AM_INIT_AUTOMAKE is expanded from... configure.ac:6: the top level autom4te: /usr/bin/m4 failed with exit status: 63 aclocal: autom4te...

Wrong value of variable LIBS generated by a macro

Hi, I've autoconfiscated a project that link against libresolv and libtpthread, and optionally against ssl, mysqlclient and pq. I am working on Fedora 13 (i686). I've found a macro AX_EXT_HAVE_LIB (http://www.gnu.org/software/autoconf-archive/ax_ext_have_lib.html) that "is identical to AC_SEARCH_LIBS with the exception that will add -L...