[build] Make LT_INIT macro optional
commit9466632c0b90bdff54354376151ca4b29f24e8db
authorNicola Fontana <ntd@entidi.it>
Sun, 14 Feb 2010 22:22:03 +0000 (14 23:22 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 14 Feb 2010 22:22:03 +0000 (14 23:22 +0100)
tree3255db5263bb35ef77384642f795a89e51df79e8
parentc3bc8ca6f3c2b8df2ebbdd8b93f83b3cf1fe432e
[build] Make LT_INIT macro optional

LT_INIT has been defined since ages (2004) but it is a macro available
only on post 1.6 versions of libtool and some distribution (most notably
slackware) still use libtool 1.5.

This commit still uses LT_INIT but it will fallback to the good old
AC_PROG_LIBTOOL if it is not defined.  Patch tested on a vanilla
slackware 13.0.
configure.ac