Jason Sewall <sew...@cs.unc.edu> writes:

> I've searched the docs and the web for info on this, but I can't seem to
> make headway.

> I have a script in the same directory as my configure.ac that tries to
> clean what commit in my VC we're building.

> GIT_VERSION=`./GIT-VERSION-GEN`

> Obviously, that './' in there doesn't work if I try to configure outside
> my source directory. What variable do I need add as prefix to that path
> to let builds outside the source tree find that script?

If that reference is in a Makefile.am or something similar, you want
either $(abs_top_srcdir) or $(top_srcdir).  I tend to use the abs_*
versions as a matter of course since they avoid weird issues.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to