aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng/files/0001-autogen.sh-not-generate-configure.patch
blob: 1cbf059efd637bc4a9430fff55c3bc57b54f9f32 (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
32
33
34
35
36
37
From d482bcc8fca90afc95ac3cbe848a3c9d7ad81ddc Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Wed, 4 Nov 2020 23:37:44 -0800
Subject: [PATCH] autogen.sh: not generate configure

Only use autogen.sh to generate configure.ac.

Upstream-Status: Inappropriate [embedded specific]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>

refresh patch to 4.0
Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 autogen.sh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index cf5d7057..cb73cf9d 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -52,12 +52,3 @@ cat configure.seed | sed \
     -e "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" \
     -e "s/@FUZZY@/$FUZZY/g" \
     > configure.ac
-
-autoreconf -ivf
-cat configure | sed "s/#define PACKAGE/#define NDPI_PACKAGE/g" | sed "s/#define VERSION/#define NDPI_VERSION/g"  > configure.tmp
-cat configure.tmp > configure
-
-echo "./configure $@"
-chmod +x configure
-./configure $@
-
-- 
2.17.1