Russ Allbery writes: > Jason Sewall writes: > > > 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. I've actually got an AH_TEMPLATE, etc associated with that definition above; I'd like to have the version end up in config.h. What is the equivalent of $(abs_top_srcdir) in configure.ac? Thanks, Jason _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf