[PATCH] Fix build with BSD make.

Dan Nicholson dbn.lists at gmail.com
Mon Feb 14 12:06:13 PST 2011

On Mon, Feb 14, 2011 at 11:35 AM, Gaetan Nadon <memsize at videotron.ca> wrote:
> On Mon, 2011-02-14 at 10:15 -0800, Dan Nicholson wrote:
> Oh, what we can do is touch the sdksyms.dep file during configure.
> This is how the other .dep files are handled and what is going on
> during the "executing defiles commands" message is printed during
> config.status. So, I think we just need to add
> AC_CONFIG_COMMANDS([sdksyms], [touch hw/xfree86/loader/sdksyms.dep])
> Automake runs before autoconf to create Makefile.in so it dies on "include"
> before CONFIG_COMMANDS has a chance to run. It works fine manually however.

That's why you have to "trick" it by making the thing it includes be a
variable. Then automake won't interpret the include statement, but
leave it verbatim in the Makefile.in. However, I think this would all
be easier and more correct if sdksyms.c was declared as BUILT_SOURCES.



More information about the xorg-devel mailing list