[Openchrome-users] automake 1.4 and man/Makefile.am
Michael Moerz
natoka
Mon Nov 20 09:28:47 PST 2006
automake 1.4 is still very widely used.
the current svn trunk has got a man/Makefile.am that breaks compilation
with automake1.4 with following error:
./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --output=aclocal.m4t
autoreconf: `aclocal.m4' is unchanged
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy
unichrome/Makefile.am:33: via_drv_la_SOURCES defined both conditionally
and unc
nditionally
unichrome/Makefile.am:26: EXTRA_DIST defined both conditionally and
uncondition
lly
automake: unichrome/Makefile.am: warning: automake does not support
EXTRA_DIST
eing defined conditionally
automake: libxvmc/Makefile.am: warning: automake does not support
libviaXvMC_la
LDFLAGS being defined conditionally
automake: libxvmc/Makefile.am: warning: automake does not support
libviaXvMCPro
la_LDFLAGS being defined conditionally
automake: libxvmc/Makefile.am: warning: automake does not support
EXTRA_DIST be
ng defined conditionally
man/Makefile.am:30: invalid unused variable name: `driverman_SOURCES'
autoreconf: automake failed with exit status: 1
the supplied svn diff patch removes the problem by renaming the
variable, since _SOURCES variables are identified by automake as
variables defining lists of files that have to be compiled in one way or
the other.
I suppose that is the quickest fix to that problem, an other solution
would be to remove the substitution code from the Makefile.am and
utilizing Automakes capabilities to do the substitutions. Since that
would involve a lot of work and could likely break things, I'd rather
suggest not to follow it.
Since automake1.4 still creates a batch of errors and warnings, i'd be
curious to hear about people being able to compile openchrome
successfully with 1.4 .
--
kind regards,
Natoka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: manmakefile.patch
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20061121/63e463c9/manmakefile.ksh
More information about the Openchrome-users
mailing list