[...] | "make all" works if I use "AM_CPPFLAGS = -I ../lib" in the Makefile.am | of the exe, but than "make distcheck" does not work (hello.hpp cannot be | found)
That would be AM_CPPFLAGS = -I$(srcdir)/../lib | Can anyone give me a hint or a complet working example that is just as | simple as my example Sure. See this tutorial http://www-src.lip6.fr/homepages/Alexandre.Duret-Lutz/autotools.html slides 86 (VPATH builds) and 87 (using a library like you did). -- Alexandre Duret-Lutz Shared books are happy books. http://www.bookcrossing.com/friend/gadl