From 5b4dd1718059421d4c78e3e1b74986dd16e3a91c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 1 Sep 2005 12:28:32 +0000 Subject: [PATCH] Don't complain about missing options in the first-use case. --- ChangeLog | 4 ++++ gnulib-tool | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ea16ae057..c24e6b503 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-09-01 Bruno Haible + * gnulib-tool (import): In the first-use case, provide defaults. + +2005-09-01 Bruno Haible + * gnulib-tool (func_import): Remove the .tmp files. 2005-08-30 Bruno Haible diff --git a/gnulib-tool b/gnulib-tool index b464dd3bd..a63586312 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-09-01 12:18:03 $' +cvsdatestamp='$Date: 2005-09-01 12:28:32 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -1518,7 +1518,10 @@ case $mode in if test $m4dirs_count = 0; then # First use of gnulib in a package. # Any number of additional modules can be given. + test -n "$supplied_libname" || supplied_libname=true + test -n "$sourcebase" || sourcebase="lib" m4base="m4" + test -n "$macro_prefix" || macro_prefix="gl" func_import "$*" else if test $m4dirs_count = 1; then -- 2.11.0