On Sat, Jan 08, 2005 at 01:01:30AM +0100, Alexandre Duret-Lutz wrote: > >>> "Albert" == Albert Chin <autoconf@xxxxxxxxxxxxxxxxxxxxxxxxx> 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 @LIBOBJ@? > > They do not. Only lib/Makefile.in is expected to use @LIBOBJS@. > Create a library if you want to use these objects elsewhere. > (The Automake manual has a section about this.) And when $LIBOBJS = ""? Use AM_CONDITIONAL to link against the library containing $LIBOBJ objects? -- albert chin (china@xxxxxxxxxxxxxxxxxx) _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf