Finding "config.h" in VPATH builds

2009-09-19 Thread David Bruce
I have a project with all the source files in a src directory just below trunk, which is where the top level configure.ac and Makefile.am live. When I run configure, config.h is created at build/config.h. If I run configure from within trunk, make works successfully, but if I do a VPATH build I ge

Re: Finding "config.h" in VPATH builds

2009-09-19 Thread Rhys Ulerich
> If I run configure from within trunk, make works successfully, but if > I do a VPATH build I get errors because config.h is not located. If I > change ' #include "config.h" ' to ' #include ../config.h" ', it works > as either a VPATH build or an in-tree build. I'm not sure this is the > right