diff --git a/gl/Makefile.am b/gl/Makefile.am index 88a7f50..2b2de9c 100644 --- a/gl/Makefile.am +++ b/gl/Makefile.am @@ -53,7 +53,6 @@ CLEANFILES = DISTCLEANFILES = MAINTAINERCLEANFILES = # No GNU Make output. -EXTRA_DIST += m4/gnulib-cache.m4 AM_CPPFLAGS = AM_CFLAGS = @@ -116,12 +115,6 @@ EXTRA_DIST += $(top_srcdir)/build-aux/vc-list-files ## end gnulib module vc-list-files -## begin gnulib module dummy - -libgnu_a_SOURCES += dummy.c - -## end gnulib module dummy - mostlyclean-local: mostlyclean-generic @for dir in '' $(MOSTLYCLEANDIRS); do \ diff --git a/gl/m4/gnulib-comp.m4 b/gl/m4/gnulib-comp.m4 index 31d21aa..790a72f 100644 --- a/gl/m4/gnulib-comp.m4 +++ b/gl/m4/gnulib-comp.m4 @@ -28,7 +28,7 @@ # other built files. -# This macro should be invoked from ./configure.ac, in the section +# This macro should be invoked from configure.ac, in the section # "Checks for programs", right after AC_PROG_CC, and certainly before # any checks for libraries, header files, types and library functions. AC_DEFUN([gl_EARLY], @@ -52,7 +52,7 @@ AC_DEFUN([gl_EARLY], # Code from module vc-list-files: ]) -# This macro should be invoked from ./configure.ac, in the section +# This macro should be invoked from configure.ac, in the section # "Check for header files, types and library functions". AC_DEFUN([gl_INIT], [ @@ -86,6 +86,7 @@ AC_DEFUN([gl_INIT], AC_REQUIRE([AC_PROG_SED]) AC_REQUIRE([AC_PROG_GREP]) # End of code from modules + m4_ifval(gl_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || for gl_file in ]gl_LIBSOURCES_LIST[ ; do @@ -148,7 +149,9 @@ changequote([, ])dnl AC_SUBST([gltests_WITNESS]) gl_module_indicator_condition=$gltests_WITNESS m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) + m4_popdef([gl_MODULE_INDICATOR_CONDITION]) + m4_ifval(gltests_LIBSOURCES_LIST, [ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || for gl_file in ]gltests_LIBSOURCES_LIST[ ; do