I am still working to get development libtool/libltdl working with my
package. I am now working on being able to build libltdl as part of the
package. Libtool doesn't seem to include any tests which verify that
this works, so maybe it just doesn't work. I have been able to build
the software so that it detects and uses an installed libltdl.
Libltdl has been initialized so that it resides in 'ltdl'.
I realized that it is necessary to add ltdl/Makefile to AC_CONFIG_FILES
in configure.ac even though the documentation fails to mention this
requirement. Automake then starts reporting the error:
ltdl/Makefile.am:47: INSTALL_LTDL does not appear in AM_CONDITIONAL
ltdl/Makefile.am:54: CONVENIENCE_LTDL does not appear in AM_CONDITIONAL
It is not yet clear to me if I will need to add a SUBDIRS statement to
Makefile.am. The documentation does not mention it.
These are the libtool/libltdl lines from my configure.ac:
LT_PREREQ(1.9g)
LTDL_INSTALLABLE([ltdl])
LT_WITH_LTDL([ltdl])
LT_INIT([disable-shared dlopen win32-dll])
LT_LANG(C++)
AC_SUBST([LIBTOOL_DEPS])
What am I doing wrong?