macros: Changes to 'master'

Jeremy Huddleston jeremyhu at apple.com
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: configure.ac: not using Gettext
autoreconf: running: aclocal -I /opt/X11/share/aclocal -I /usr/local/share/aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
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 configure.ac 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:

> xorg-macros.m4.in |    6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
> 
> New commits:
> commit e03a5cb9f313c6f5de3edc46327eb18b300b92c2
> Author: Alan Coopersmith <alan.coopersmith at oracle.com>
> 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:
> 
>    configure.ac:46: 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...
>    configure.ac:46: the top level
> 
>    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> 
> _______________________________________________
> xorg-commit mailing list
> xorg-commit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg-commit
> 



More information about the xorg-devel mailing list