* configure.ac (LT_LIB_DLLOAD): Added, needed for linking dlopen(), etc. * Makefile.am (m4_libm4_la_LIBADD): LIBADD_DL is redundant, LT_LIB_DLLOAD deals with that. (doc/m4.1): Depend on src/m4. --- Makefile.am | 4 ++-- configure.ac | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am index c752ff2..6077047 100644 --- a/Makefile.am +++ b/Makefile.am @@ -232,7 +232,7 @@ m4_libm4_la_SOURCES = \ m4/syntax.c \ m4/utility.c m4_libm4_la_LIBADD = m4/gnu/libgnu.la \ - $(LIBLTDL) $(LTLIBINTL) $(LIBADD_DL) + $(LIBLTDL) $(LTLIBINTL) m4_libm4_la_DEPENDENCIES = $(LTDLDEPS) m4/gnu/libgnu.la # This file needs to be regenerated at configure time. @@ -254,7 +254,7 @@ HELP2MAN = $(SHELL) $(top_srcdir)/$(config_aux_dir)/missing --run help2man # Build the man page once in the srcdir, rather than in every VPATH build # dir, to match how automake builds info pages. This is safe for 'make # distcheck' since it is distributed pre-built. -$(srcdir)/doc/m4.1: .version $(srcdir)/src/main.c +$(srcdir)/doc/m4.1: .version $(srcdir)/src/m4 @echo "Updating the \`man' page \`$@'"; \ $(HELP2MAN) --name="macro processor" --source=FSF \ --info-page=m4 --output=$@ src/m4$(EXEEXT) diff --git a/configure.ac b/configure.ac index 2fe6d9e..b4e05af 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,7 @@ M4_CHECK_DEBUGGING ## ----------------------- ## LT_PREREQ([2.2]) LT_INIT([shared dlopen win32-dll]) +LT_LIB_DLLOAD AC_ARG_ENABLE([gcc-warnings], [AS_HELP_STRING([--enable-gcc-warnings], -- 1.9.3 _______________________________________________ M4-patches mailing list M4-patches@gnu.org https://lists.gnu.org/mailman/listinfo/m4-patches