autoconf
[Top][All Lists]
Advanced

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

Re: @LIBOBJ@ usage


From: Alexandre Duret-Lutz
Subject: Re: @LIBOBJ@ usage
Date: Sat, 08 Jan 2005 01:01:30 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Albert" == Albert Chin <address@hidden> writes:

 Albert> If a program has;
 Albert> 1. Makefile.in's in each directory
 Albert> 2. AC_CONFIG_LIBOBJ_DIR(lib) in the top-level configure.ac
 Albert> then how do subdirectory Makefile.in's make use of @address@hidden 

They do not.  Only lib/Makefile.in is expected to use @address@hidden
Create a library if you want to use these objects elsewhere.
(The Automake manual has a section about this.)

 Albert> @LIBOBJ@ contains relative paths, rather than something
 Albert> looking like $(top_builddir)/lib/func.o.

AC_CONFIG_LIBOBJ_DIR only tells configure where to find the
source files some tests need.  It has nothing to do with how
@LIBOBJS@ is filled.
-- 
Alexandre Duret-Lutz





reply via email to

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