aboutsummaryrefslogtreecommitdiff
path: root/net/ntopng/files/patch-autogen.sh
blob: bcc5367bb9d61d1f7e1890b7fda57d654f892512 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
--- autogen.sh.orig	2025-12-28 10:02:12 UTC
+++ autogen.sh
@@ -8,31 +8,6 @@ PKG_CONFIG=$(command -v pkg-config)
 AUTORECONF=$(command -v autoreconf)
 PKG_CONFIG=$(command -v pkg-config)
 
-if test -z $AUTOCONF; then
-    echo "autoconf is missing: please install it and try again"
-    exit
-fi
-
-if test -z $AUTOMAKE; then
-    echo "automake is missing: please install it and try again"
-    exit
-fi
-
-if test -z $LIBTOOL && test -z $LIBTOOLIZE ; then
-    echo "libtool and libtoolize is missing: please install it and try again"
-    exit
-fi
-
-if test -z $AUTORECONF; then
-    echo "autoreconf is missing: please install it and try again"
-    exit
-fi
-
-if test -z $PKG_CONFIG; then
-    echo "pkg-config is missing: please install it (apt-get install pkg-config) and try again"
-    exit
-fi
-
 ##########################################
 
 TODAY=`date +%y%m%d`
@@ -74,20 +49,3 @@ rm -f config.h config.h.in *~ #*
     > configure.ac
 
 rm -f config.h config.h.in *~ #*
-
-git submodule init
-git submodule update --remote
-
-if test -d "pro"; then
-N=`grep __FreeBSD__ third-party/clickhouse-cpp/clickhouse/base/platform.h|wc -l|tr -d "[[:space:]]"`
-if test "${N}" = "0"; then
- cd third-party/clickhouse-cpp/; cat ../../clickhouse/clickhouse-cpp.diff | patch -p1 ; cd ../..
-fi
-fi
-
-# git submodule update --init --recursive
-
-echo "Wait please..."
-autoreconf -if
-echo ""
-echo "Now run ./configure"