<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Tue, 2011-05-31 at 23:59 -0700, Jeremy Huddleston wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
AC_LANG_DEFINES_PROVIDED seems to be only in newer, GPLv3, versions of autoconf ... is there a way around this?
</PRE>
</BLOCKQUOTE>
<BR>
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.<BR>
<BR>
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.<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
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 <<A HREF="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</A>>
> 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 <<A HREF="mailto:alan.coopersmith@oracle.com">alan.coopersmith@oracle.com</A>>
>
> _______________________________________________
> xorg-commit mailing list
> <A HREF="mailto:xorg-commit@lists.freedesktop.org">xorg-commit@lists.freedesktop.org</A>
> <A HREF="http://lists.freedesktop.org/mailman/listinfo/xorg-commit">http://lists.freedesktop.org/mailman/listinfo/xorg-commit</A>
>
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>