autoconf
[Top][All Lists]
Advanced

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

Re: AC_OUTPUT eats VPATH


From: Derek R. Price
Subject: Re: AC_OUTPUT eats VPATH
Date: Wed, 28 Feb 2001 19:36:48 -0500

Rasmus Tamstorf wrote:

>   AC_OUTPUT([src/_$ARCH/Makefile:src/Makefile.in])

You know, there's a much more painless way to do this.  Autoconf already knows
that if you:

mkdir $ARCH
cd $ARCH
../configure

Then the build tree will be created automatically in and under the current
directory.  That's the whole point of the $srcdir variable in the first place.
In this scenario, srcdir will be set to ../XXX where XXX is each subdir
configure is creating a Makefile (or other file) in.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:address@hidden     OpenAvenue ( http://OpenAvenue.com )
--
       *******         ****       ****         *******
     *    *    *      *    *     *    *      *         *
    *     *     *    *       * *       *    *   *   *   *
   *      *      *   *        *        *   *             *
   *     ***     *    *               *    *             *
   *    * * *    *      *           *      *   *     *   *
    *  *  *  *  *         *       *         *   *****   *
     **   *   **            *   *            *         *
       *******                *                *******






reply via email to

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