Hi,

In the newest autoconf 2.66, AC_CONFIG_SUBDIRS warns when it is invoked with
more than one directory. But this way of invoking it is supported, see the doc:

 -- Macro: AC_CONFIG_SUBDIRS (DIR ...)
     Make `AC_OUTPUT' run `configure' in each subdirectory DIR in the
     given blank-or-newline-separated list.  Each DIR should be a
     literal ...

How to reproduce:

===================== configure.ac ====================
AC_INIT
AC_CONFIG_SUBDIRS([lib src tests doc])
AC_OUTPUT
=======================================================

With autoconf 2.65:

  $ autoconf

With autoconf 2.66:

  $ autoconf
  configure.ac:2: warning: AC_CONFIG_SUBDIRS: you should use literals
  ../../lib/autoconf/status.m4:1098: AC_CONFIG_SUBDIRS is expanded from...
  configure.ac:2: the top level

Looks like a regression to me.

Bruno

Reply via email to