On Fri, 2002-07-12 at 11:38, Tom Tromey wrote: > >>>>> "Stephen" == Stephen Torri <[EMAIL PROTECTED]> writes: > > Stephen> I have my LDFLAGS variable set for a program as: > Stephen> -L@top_srcdir@/src -lnestORB > > Use -L$(top_builddir)/src instead. > top_srcdir points to the source tree, not the build tree. > If the user doesn't configure in srcdir then the library won't be there.
Thanks. I understand the difference now. > Stephen> "make distcheck" ../../src => (full) > Stephen> /home/torri/src/nestORB/nestORB-0.51/src > > `distcheck' does a build where srcdir != builddir. This is done > precisely to catch problems like the one above. Right. I use distcheck to make sure I have gotten everything right. I am just rewriting our Makefile.am to take more advantage of automake features. Automake is certainly making the creation of Makefiles a whole lot easier. Stephen