From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:60224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfBkt-0002g4-Oz for qemu-devel@nongnu.org; Thu, 14 Jun 2012 11:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfBkr-0000sH-TH for qemu-devel@nongnu.org; Thu, 14 Jun 2012 11:14:39 -0400 Received: from cantor2.suse.de ([195.135.220.15]:50018 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfBkr-0000rl-N0 for qemu-devel@nongnu.org; Thu, 14 Jun 2012 11:14:37 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Thu, 14 Jun 2012 15:14:33 +0000 Message-Id: <1339686873-5528-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH buildfix] configure: Assure existence of linux-headers/ build directory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Anthony Liguori 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. Signed-off-by: Andreas F=C3=A4rber --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index c2366ee..ba8cc7c 100755 --- a/configure +++ b/configure @@ -3462,6 +3462,7 @@ done =20 # use included Linux headers if test "$linux" =3D "yes" ; then + mkdir -p linux-headers case "$cpu" in i386|x86_64) symlink "$source_path/linux-headers/asm-x86" linux-headers/asm --=20 1.7.10.4