help-gnu-utils
[Top][All Lists]
Advanced

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

[Automake] subdirecories and AC_REPLACE_FUNCS


From: Chris Croughton
Subject: [Automake] subdirecories and AC_REPLACE_FUNCS
Date: Tue, 10 May 2005 13:05:48 +0100
User-agent: slrn/0.9.7.4 (Linux)

I'm using automake 1.8 and autoconf 2.59 to build a library, with a
source tree as follows:

  <root>        Makefile.am, configure.ac
    |
    |- utils    utilities for building
    |
    |- inc      include files
    |
    |- src      sources for library
    |
    |- test     test programs

I'm using AC_REPLACE_FUNCS to provide my own versions of various
functions.  However, by putting this into configure.ac in the
$(top_srcdir) when it builds utils it complains that the files with the
replacememt code aren't in utils or test (correct, they are in src where
they are to be built into the library, not the utilities or the test
programs).

Is this a case where I need to have a separate configure.ac in each
directory?  I remember reading somewhere recently that doing that causes
a problem...

Chris C


reply via email to

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