On 14 June 2012 16:14, Andreas Färber <afaer...@suse.de> wrote: > Commit ec5b06d (configure: ensure directory exists when creating symlinks) > moved the creation of directories into the symlink() function but forgot > the case where no symlink is created. > > This leads to build errors on arm Linux due to -I../linux-headers. > > Unbreak the build on arm Linux by reverting part of that commit.
I think it would be better to just revert ec5b06d completely. The comment documenting the symlink() function says "# symbolically link $1 to $2. Portable version of "ln -sf" and "ln -sf" doesn't create the target directory, so symlink() should not either. -- PMM