[Top][All Lists]

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

Toplevel / for optional directories

From: J.T. Conklin
Subject: Toplevel / for optional directories
Date: Tue, 23 Nov 2004 21:41:40 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix)

I've been working on the Automake build infrastructure for the ACE and
TAO libraries.

TAO depends on and is packaged with ACE, but ACE is also available in
a standalone distribution.

My attempt to handle this was a conditional subdirectory in the
toplevel like:

         if BUILD_TAO
         SUBDIRS += TAO

and this code in the toplevel

         if test -d $srcdir/TAO; then
         AM_CONDITIONAL([BUILD_TAO], [test -d $srcdir/TAO])

I thought this was working fine, but then again I've never actually
tried it with an ACE-only distribution.  One of the other ACE/TAO 
contributors did and found that autoreconf failed with:

    $ autoreconf --install --force
    Putting files in AC_CONFIG_AUX_DIR, `aux_config'. required directory ./TAO does not exist
    autoreconf: failed to run automake: No such file or directory

Any suggestions?


J.T. Conklin

reply via email to

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