Previous: , Up: Distributing   [Contents][Index]

5.5.2 Autoconf and LTLIBOBJS

People used to add code like the following to their

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

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 if you had them.