On Tue, Apr 03, 2007 at 04:00:20PM -0600, Ben Bergen wrote: > does anyone know of a variable that is defined during the ./configure > run that tells where the top level source directory is. I have tried > $top_srcdir, but this is doesn't seem to be defined until the very > end. I can't use the current directory because I am trying to support > out-of-path builds. Hi Ben, I've run into the same problem, and this is what I do, case $target in *-*-mingw*) abs_top_srcdir=`cd $srcdir; pwd -W` abs_top_builddir=`pwd -W` ;; *) abs_top_srcdir=`cd $srcdir; pwd` abs_top_builddir=`pwd` ;; esac It's probably not correct, but it works. Bob Rossi _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf