I just updated my local copy of gnulib (which I use as a submodule) and am seeing "was expanded before it was required" warnings from Autoconf.
$ git diff master~..master gnulib diff --git a/gnulib b/gnulib index fd9f1ac..fb884a0 160000 --- a/gnulib +++ b/gnulib @@ -1 +1 @@ -Subproject commit fd9f1acededd74f8cd095e657528aa8fad183536 +Subproject commit fb884a0dca91500cb944b0ecc2e5388fa2c7bcd5 $ autopoint -f && > aclocal -I m4 -I gl/m4 && > autoheader && > autoconf && > automake --add-missing --copy configure.ac:87: warning: AC_REQUIRE: `gl_HEADER_SYS_SOCKET' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... gl/m4/inet_pton.m4:66: gl_PREREQ_INET_PTON is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETS' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETLIB' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockets.m4:7: gl_SOCKETS is expanded from... gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_HEADER_SYS_SOCKET' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... gl/m4/inet_pton.m4:66: gl_PREREQ_INET_PTON is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETS' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETLIB' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockets.m4:7: gl_SOCKETS is expanded from... gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_HEADER_SYS_SOCKET' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... gl/m4/inet_pton.m4:66: gl_PREREQ_INET_PTON is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETS' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETLIB' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockets.m4:7: gl_SOCKETS is expanded from... gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_HEADER_SYS_SOCKET' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockpfaf.m4:14: gl_SOCKET_FAMILIES is expanded from... gl/m4/inet_pton.m4:66: gl_PREREQ_INET_PTON is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETS' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level configure.ac:87: warning: AC_REQUIRE: `gl_SOCKETLIB' was expanded before it was required configure.ac:87: http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required gl/m4/sockets.m4:7: gl_SOCKETS is expanded from... gl/m4/select.m4:7: gl_FUNC_SELECT is expanded from... gl/m4/nanosleep.m4:14: gl_FUNC_NANOSLEEP is expanded from... gl/m4/gnulib-comp.m4:556: gl_INIT is expanded from... configure.ac:87: the top level ~/source/GNU/findutils/git/gnu/findutils$ autoconf --version ; automake --version autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. automake (GNU automake) 1.11.6 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later < http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tro...@redhat.com> and Alexandre Duret-Lutz <a...@gnu.org>. As far as I can see my versions of autoconf and automake meet the requirements in DEPENDENCIES. I've attached gl/m4/gnulib-comp.m4 and configure.ac, in case that helps.
configure.ac.gz
Description: GNU Zip compressed data
gnulib-comp.m4.gz
Description: GNU Zip compressed data