summaryrefslogtreecommitdiffstats
path: root/patches/grub-0.97/0003-cleanup-autotools-a-bit.patch
blob: 56b3bc7f751a34a70f61261962f50f86d6e35a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Tue, 22 Nov 2011 15:11:15 +0100
Subject: [PATCH] cleanup autotools a bit

http://bugs.gentoo.org/156524

Taken from Gentoo. Needed for autoreconf.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 configure.ac | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index bb9e1d9..a47258c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,12 +56,7 @@ fi
 
 AC_CHECK_TOOL(CC, gcc)
 AC_PROG_CC
-# We need this for older versions of Autoconf.
-_AM_DEPENDENCIES(CC)
-
-dnl Because recent automake complains about AS, set it here.
-CCAS="$CC"
-AC_SUBST(CCAS)
+AM_PROG_AS
 
 AC_ARG_WITH(binutils,
   [  --with-binutils=DIR     search the directory DIR to find binutils])