manpagez: man pages & more
info libtool
Home | html | info | man

File: libtool.info,  Node: Autoconf and LTLIBOBJS,  Prev: Invoking libtoolize,  Up: Distributing

5.5.2 Autoconf and ‘LTLIBOBJS’
------------------------------

People used to add code like the following to their ‘configure.ac’:

     LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/'`
     AC_SUBST([LTLIBOBJS])

This is no longer required (since Autoconf 2.54), and doesn't take
Automake's deansification support into account either, so doesn't work
correctly even with ancient Autoconfs!

   Provided you are using a recent (2.54 or better) incarnation of
Autoconf, the call to ‘AC_OUTPUT’ takes care of setting ‘LTLIBOBJS’ up
correctly, so you can simply delete such snippets from your
‘configure.ac’ if you had them.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.