changeset 39941:647230feebc0

Fix failure of 'gnulib-tool --create-testdir' with all modules. * gnulib-tool (func_create_testdir): Exclude 'timevar' module.
author Bruno Haible <bruno@clisp.org>
date Mon, 22 Oct 2018 20:32:41 +0200
parents 151fc19aed90
children 0e16812cd96d
files ChangeLog gnulib-tool
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 22 02:58:30 2018 +0200
+++ b/ChangeLog	Mon Oct 22 20:32:41 2018 +0200
@@ -1,3 +1,8 @@
+2018-10-22  Bruno Haible  <bruno@clisp.org>
+
+	Fix failure of 'gnulib-tool --create-testdir' with all modules.
+	* gnulib-tool (func_create_testdir): Exclude 'timevar' module.
+
 2018-10-21  Bruno Haible  <bruno@clisp.org>
 
 	locale: Ease integration with GNU libintl.
--- a/gnulib-tool	Mon Oct 22 02:58:30 2018 +0200
+++ b/gnulib-tool	Mon Oct 22 20:32:41 2018 +0200
@@ -5980,10 +5980,11 @@
     # Except config-h, which breaks all modules which use HAVE_CONFIG_H.
     # Except non-recursive-gnulib-prefix-hack, which represents a nonstandard
     # way of using Automake.
+    # Except timevar, which lacks the required file timevar.def.
     # Except ftruncate, mountlist, which abort the configuration on mingw. FIXME.
     # Except lib-ignore, which leads to link errors when Sun C++ is used. FIXME.
     modules=`func_all_modules`
-    modules=`for m in $modules; do case $m in config-h | non-recursive-gnulib-prefix-hack | ftruncate | mountlist | lib-ignore) ;; *) echo $m;; esac; done`
+    modules=`for m in $modules; do case $m in config-h | non-recursive-gnulib-prefix-hack | timevar | ftruncate | mountlist | lib-ignore) ;; *) echo $m;; esac; done`
   fi
   specified_modules="$modules"