Update autogen.sh to be smart(er). Shamelessly stolen and adapted.
Add workaround for libltdl being broken in debian sid
Completely redo the build system. Now uses libtool and automake. Suggest you clean out your tree and then do ./autogen.sh.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.