macros: Changes to 'master'

Gaetan Nadon memsize at videotron.ca
Wed Jun 1 04:42:32 PDT 2011


On Tue, 2011-05-31 at 23:59 -0700, Jeremy Huddleston wrote:

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


I looked at it yesterday, using AC_LANG_SOURCE should be the right thing
to do (some examples in the server). I can submit a patch later today if
no one else beats me to it. You can reset macros a couple of commits
back to get the build going.

Not related to this problem. but can you elaborate on the issue of GPLv3
of autoconf? We won't be able to remain at the current 2.60 for ever.



> 
> 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
> > 
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110601/00c9cd09/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110601/00c9cd09/attachment.pgp>


More information about the xorg-devel mailing list