macros: Changes to 'master'

Jeremy Huddleston jeremyhu at
Tue May 31 23:59:56 PDT 2011

AC_LANG_DEFINES_PROVIDED seems to be only in newer, GPLv3, versions of autoconf ... is there a way around this?

autoreconf: Entering directory `.'
autoreconf: not using Gettext
autoreconf: running: aclocal -I /opt/X11/share/aclocal -I /usr/local/share/aclocal --force -I m4
autoreconf: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./'
glibtoolize: putting macros in `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
glibtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to and
glibtoolize: rerunning glibtoolize, to keep the correct libtool macros in-tree.
autoreconf: running: /usr/bin/autoconf --force
configure:14798: error: possibly undefined macro: AC_LANG_DEFINES_PROVIDED
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

On May 25, 2011, at 11:51 PM, Alan Coopersmith wrote:

> |    6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
> New commits:
> commit e03a5cb9f313c6f5de3edc46327eb18b300b92c2
> Author: Alan Coopersmith <alan.coopersmith at>
> Date:   Sat May 14 09:10:13 2011 -0700
>    Add AC_LANG_DEFINES_PROVIDED to XORG_RAW_CPP to silence autoconf warnings
>    Since we're intentionally doing a special case to just check cpp output,
>    and not a full program compilation, add the magic macro to silence:
> warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
>    ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
>    aclocal.m4:1077: XORG_PROG_RAWCPP is expanded from...
> the top level
>    Signed-off-by: Alan Coopersmith <alan.coopersmith at>
> _______________________________________________
> xorg-commit mailing list
> xorg-commit at

More information about the xorg-devel mailing list