From: Jim Meyering Date: Sun, 8 Jul 2007 10:42:05 +0000 (+0200) Subject: Adapt to deeper hierarchy in gnulib. X-Git-Tag: v6.9.89~249 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7368caf47c9bcdd853f1f9dac4382935d4caa6f;p=thirdparty%2Fcoreutils.git Adapt to deeper hierarchy in gnulib. * bootstrap (gnulib_tool): If the destination directory doesn't exist, create it. This is required at least for "lib/uniwidth/cjk.h". --- diff --git a/ChangeLog b/ChangeLog index e2fdc5396f..13c6cf489d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-07-08 Jim Meyering + Adapt to deeper hierarchy in gnulib. + * bootstrap (gnulib_tool): If the destination directory doesn't exist, + create it. This is required at least for "lib/uniwidth/cjk.h". + Use , not "wcwidth.h". * src/wc.c: Now that gnulib provides the POSIX-specified , include it and , rather than "wcwidth.h". diff --git a/bootstrap b/bootstrap index 16a3085434..8382eb895f 100755 --- a/bootstrap +++ b/bootstrap @@ -284,6 +284,12 @@ symlink_to_gnulib() dst=${2-$1} test -f "$src" && { + + # If the destination directory doesn't exist, create it. + # This is required at least for "lib/uniwidth/cjk.h". + dst_dir=`dirname "$dst"` + test -d "$dst_dir" || mkdir -p "$dst_dir" + if $copy; then { test ! -h "$dst" || {