+2006-10-24 Paul Eggert <eggert@cs.ucla.edu>,
+ Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * doc/libtool.texi (Distributing libltdl): In recursive and
+ nonrecursive mode, a config header is now required.
+ * libltdl/argz.c: Remove check for HAVE_CONFIG_H, to conform
+ to gnulib's policy of including config.h unconditionally.
+
2006-10-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/link-order2.at: New test to show one case where ordering
@example
AM_INIT_AUTOMAKE([subdir-objects])
+AC_CONFIG_HEADERS([config.h])
AC_PROG_CC
AM_PROG_CC_C_O
LT_CONFIG_LTDL_DIR([libltdl], [nonrecursive])
@end example
@noindent
-And add the following near the top of your @file{Makefile.am}:
+You have to use a config header, but it may have a name different than
+@file{config.h}.
+
+Also, add the following near the top of your @file{Makefile.am}:
@example
AM_CPPFLAGS =
@example
AM_INIT_AUTOMAKE
+AC_CONFIG_HEADERS([config.h])
LT_CONFIG_LTDL_DIR([libltdl], [recursive])
LT_WITH_LTDL
AC_CONFIG_FILES([libltdl/Makefile])
@end example
@noindent
-and to your @file{Makefile.am}:
+You have to use a config header, but it may have a name different than
+@file{config.h}.
+
+Also, add this to your @file{Makefile.am}:
@example
SUBDIRS = libltdl