I finally got annoyed enough by multiple warnings from Autoconf and Automake to fix them. The first patch explicitly enables the subdir-objects option. This option has been supported by automake for over a decade: http://git.savannah.gnu.org/cgit/automake.git/commit/?id=88b595974744cad79fa4bc2492a796c6037eea49 The next 2 patches add brackets around AC_LANG_PROGRAM and avoid the same warning. This is kept in separate commits because one of the files is from an external source but I couldn't find an updated version of it. Squash them if needed. This warning is the result of an change in autoconf 2.68: The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file contents. Source: https://lists.gnu.org/archive/html/autoconf/2010-09/msg00069.html The last patch updates the ax_pthread.m4 file from the GNU Autoconf Archive tarball and avoids the same warning as the last two patches. poljar (Damir Jeli?) (4): build: Enable subdir-objects option build: Silence warning about missing AC_LANG_SOURCE call in configure.ac build: Silence warning about missing AC_LANG_SOURCE call in acx_libwrap.m4 build: Update ax_pthread macro configure.ac | 16 ++++++++-------- m4/acx_libwrap.m4 | 4 ++-- m4/ax_pthread.m4 | 47 +++++++++++++++++++++++++++++++---------------- 3 files changed, 41 insertions(+), 26 deletions(-) -- 1.8.4