DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(libtool14.info.gz) Autoconf

Info Catalog (libtool14.info.gz) Invoking libtoolize (libtool14.info.gz) Distributing
 
 5.4.2 Autoconf `.o' macros
 --------------------------
 
 The Autoconf package comes with a few macros that run tests, then set a
 variable corresponding to the name of an object file.  Sometimes it is
 necessary to use corresponding names for libtool objects.
 
    Here are the names of variables that list libtool objects:
 
  -- Variable: LTALLOCA
      Substituted by `AC_FUNC_ALLOCA' ( Particular Function Checks
      (autoconf)Particular Functions.).  Is either empty, or contains
      `alloca.lo'.
 
  -- Variable: LTLIBOBJS
      Substituted by `AC_REPLACE_FUNCS' ( Generic Function Checks
      (autoconf)Generic Functions.), and a few other functions.
 
    Unfortunately, the stable release of Autoconf (2.13, at the time of
 this writing) does not have any way for libtool to provide support for
 these variables.  So, if you depend on them, use the following code
 immediately before the call to `AC_OUTPUT' in your `configure.in':
 
      LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
      AC_SUBST(LTLIBOBJS)
      LTALLOCA=`echo "$ALLOCA" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
      AC_SUBST(LTALLOCA)
      AC_OUTPUT(...)
 
Info Catalog (libtool14.info.gz) Invoking libtoolize (libtool14.info.gz) Distributing
automatically generated byinfo2html