Fix building with older versions of libtool
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 6 Mar 2016 17:06:38 +0000 (18:06 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 6 Mar 2016 17:06:38 +0000 (18:06 +0100)
commit5a911ceb65165a4293830503afd257a9bd474bc7
treef752060d936c9d0929a13a0b0198b67be5680cd2
parentf0da322ddcee142e8bdc50a54219201573f284d4
Fix building with older versions of libtool

The libtool on RHEL5 doesn't set LTDEPS, therefore
we failed to compile the builtin ltdl lib.

It does however set LIBLTDL to the path of the if it is
going to build an internal one. Use that.

Fixes building from git on RHEL5
configure.ac