[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prefix for file in source directory used in ./configure?

From: Jason Sewall
Subject: Re: Prefix for file in source directory used in ./configure?
Date: Sun, 25 Apr 2010 17:16:25 +0000 (UTC)
User-agent: Loom/3.14 (

Ralf Wildenhues <Ralf.Wildenhues <at>> writes:
> $ac_top_srcdir, as documented in "info Autoconf 'Configuration Actions'".
> Since configure is always run the top build directory, it should suffice
> to use $srcdir though.

Well, perhaps I understand less of autoconf than I thought I did.  I
tried to put GIT_VERSION=`$(ac_top_srcdir)/GIT-VERSION-GEN` in there
before even looking for help here, but $(ac_top_srcdir) isn't set at
that point.  I literally have

            [Git revision of this build])

in my file.  It seems like AC_CONFIG_COMMAND runs too
late for the variables to be put in config.h, is that right?

I suspect I'm revealing a deep ignorance of what is actually going on
under the hood here, but I really appreciate the help.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]