changeset 8668:9c0fa5819ce3

2007-04-12 Simon Josefsson <simon@josefsson.org> * gnulib-tool (func_modules_add_dummy): Respect --avoid=dummy.
author Simon Josefsson <simon@josefsson.org>
date Thu, 12 Apr 2007 11:56:38 +0000
parents ff93f259165e
children 53e23a775b9f
files ChangeLog gnulib-tool
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Apr 12 11:19:39 2007 +0000
+++ b/ChangeLog	Thu Apr 12 11:56:38 2007 +0000
@@ -1,3 +1,7 @@
+2007-04-12  Simon Josefsson  <simon@josefsson.org>
+
+	* gnulib-tool (func_modules_add_dummy): Respect --avoid=dummy.
+
 2007-04-12  Simon Josefsson  <simon@josefsson.org>
 
 	* modules/autobuild: New module.
--- a/gnulib-tool	Thu Apr 12 11:19:39 2007 +0000
+++ b/gnulib-tool	Thu Apr 12 11:56:38 2007 +0000
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2007-04-03 23:27:57 $'
+cvsdatestamp='$Date: 2007-04-12 11:56:38 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -1175,7 +1175,9 @@
   done
   # Add the dummy module, to make sure the library will be non-empty.
   if test -z "$have_lib_SOURCES"; then
-    func_append modules " dummy"
+    if func_acceptable "dummy"; then
+      func_append modules " dummy"
+    fi
   fi
 }