blob: 8d62147b9eec350878f8c44f3c1917dc0a9afa7c [file] [log] [blame]
Andrew Geissler4b7c1152020-11-30 19:55:29 -06001From 22f0bec462763f1b0b92daa33133e274d3b45f4f Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Thu, 5 Nov 2020 00:05:21 -0800
4Subject: [PATCH] autogen.sh: generate configure.ac only
5
6The autogen.sh should only generate configure.ac and the
7logic used to generate configure script should follow the
8autotools.bbclass in oe. Otherwise there may comes below
9do_configure error:
10 | checking whether we are cross compiling... configure: error: in `/path/tmp/work/core2-64-poky-linux/ndpi/3.4-r0/git':
11 | configure: error: cannot run C compiled programs.
12 | If you meant to cross compile, use `--host'.
13
14Upstream-Status: Inappropriate [embedded specific]
15
16Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
17---
18 autogen.sh | 5 -----
19 1 file changed, 5 deletions(-)
20
21diff --git a/autogen.sh b/autogen.sh
22index 73f8d0ebe..15ff0aa84 100755
23--- a/autogen.sh
24+++ b/autogen.sh
25@@ -73,8 +73,3 @@ cat configure.seed | sed \
26 > configure.ac
27
28 rm -f config.h config.h.in *~ #*
29-
30-echo "Wait please..."
31-autoreconf -if
32-echo ""
33-echo "Now run ./configure"
34--
352.17.1
36