Mercurial > gnulib
diff gnulib-tool @ 6204:104bcb14d247
Provide defaults where needed.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 02 Sep 2005 17:28:31 +0000 |
parents | b71216f1bb18 |
children | c72d8c259348 |
line wrap: on
line diff
--- a/gnulib-tool Fri Sep 02 14:44:37 2005 +0000 +++ b/gnulib-tool Fri Sep 02 17:28:31 2005 +0000 @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2005-09-02 11:18:48 $' +cvsdatestamp='$Date: 2005-09-02 17:28:31 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -1485,6 +1485,12 @@ if test -n "$m4base"; then # Apply func_import to a particular gnulib directory. # Any number of additional modules can be given. + if test ! -f "$destdir/$m4base"/gnulib-cache.m4; then + # First use of gnulib in the given m4base. + test -n "$supplied_libname" || supplied_libname=true + test -n "$sourcebase" || sourcebase="lib" + test -n "$macro_prefix" || macro_prefix="gl" + fi func_import "$*" else # Apply func_import to all gnulib directories.