Hi, Daniel Egger <de@xxxxxxxxxx> writes: > I'm throwing the following fix for consideration. The > problem is that by standard headers are looked for in > various locations under the srcdir, however there're > also header files which are automatically generated > and (rightfully) put into objdir but are not searched > for there. This breaks builds where srcdir != objdir. > > My simple fix is to add another include search path > relative to the current directory (i.e. objdir) where > needed. I realize that there might be better ways to > fix that which I currently can not see so I'm posting > it here with a RFC. Looks like the wrong fix to me. Instead we should change the Makefiles to look for the generated files in the right spot (and .. isn't the right spot). Sven