AM_PROG_LIBTOOL, as suggested by autoconf.
1999-04-29 Alexandre Oliva <oliva@dcc.unicamp.br>
+ * mdemo/configure.in: Move AC_LIBLTDL_CONVENIENCE before
+ AM_PROG_LIBTOOL, as suggested by autoconf.
+
* doc/libtool.texi (Distributing libltdl): Document that -static
may cause the same problems on libltdl as -all-static.
* TODO: We might want to fix this in the future.
AC_PROG_CC
AC_C_CONST
AC_EXEEXT
-AC_LIBTOOL_DLOPEN
-AM_PROG_LIBTOOL
-AC_SUBST(LIBTOOL_DEPS)
dnl AC_LIBLTDL_CONVENIENCE(['${top_builddir}/../libltdl'])
dnl Since the package is flat, we need not use the line above,
AC_LIBLTDL_CONVENIENCE(../libltdl)
AC_SUBST(LIBLTDL)
+AC_LIBTOOL_DLOPEN
+AM_PROG_LIBTOOL
+AC_SUBST(LIBTOOL_DEPS)
+
if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
STATIC=-static
else