bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoconf-2.66: AC_CONFIG_SUBDIRS warns


From: Bruno Haible
Subject: autoconf-2.66: AC_CONFIG_SUBDIRS warns
Date: Sat, 3 Jul 2010 12:57:38 +0200
User-agent: KMail/1.9.9

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

[Prev in Thread] Current Thread [Next in Thread]