blob: 3801d73883d3a651f26722fe90df37c125527a40 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From e5d8f6d4a7652ea95c8d069ce9333494f2db868c Mon Sep 17 00:00:00 2001
2From: Joshua Lock <josh@linux.intel.com>
3Date: Fri, 16 Sep 2011 15:35:48 -0700
4Subject: [PATCH] texinfo: several changes to build without zlib and ncurses
5
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006We already DEPEND on the native texinfo being present before building so
7there isn't any need to try and build the required native texinfo binaries
8before cross-compiling. This simplifies the recipe somewhat!
9
10Upstream-Status: Inappropriate oe specific
11
12Signed-off-by: Joshua Lock <josh@linux.intel.com>
13
Andrew Geissler517393d2023-01-13 08:55:19 -060014---
15 configure.ac | 24 +-----------------------
16 1 file changed, 1 insertion(+), 23 deletions(-)
17
18diff --git a/configure.ac b/configure.ac
19index 6fcd3a0..c108df7 100644
20--- a/configure.ac
21+++ b/configure.ac
22@@ -180,29 +180,7 @@ AC_CANONICAL_BUILD
Patrick Williamsc124f4f2015-09-15 14:41:29 -050023 # $native_tools is also added to SUBDIRS in the main Makefile.am,
24 # so that make compiles the native tools first.
25 #
26-if test "$cross_compiling" = no; then
27- native_tools=
28-else
29- native_tools=tools
30- test -d "$native_tools" || mkdir "$native_tools"
31- confdir=`(cd "$srcdir";pwd)`
32- # Make sure the secondary configure won't fail with
33- # "error: source directory already configured".
34- rm -f config.status
35- AC_MSG_NOTICE([[Doing configure of native tools (${build}).]])
36- cd "$native_tools" || exit 1
37- # Run secondary configure in alternate environment or
38- # it gets the wrong CC etc.
39- # env -i gives this build host configure a clean environment;
40- # consequently, we have to re-initialize $PATH.
41- env -i CC="$BUILD_CC" AR="$BUILD_AR" RANLIB="$BUILD_RANLIB" \
42- PATH="$PATH" \
43- tools_only=1 \
44- ${confdir}/configure --build=${build} --host=${build} \
45- --disable-rpath --disable-nls
46- cd .. || exit 1
47- AC_MSG_NOTICE([[Continuing with main configure (${host}).]])
48-fi
49+native_tools=
50 AC_SUBST(native_tools)
51 AM_CONDITIONAL(TOOLS_ONLY, [[test "x$tools_only" = x1]])
52