aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-02-19 18:50:23 +0100
committerLuca Deri <deri@ntop.org>2018-02-19 18:50:23 +0100
commit6e7a1022b21ebb214045e7dbf52b10939cb3d85c (patch)
tree9dcd737c945d498e20913da4482367303d9fa1b0 /autogen.sh
parent76d058360ebac11f11f39c9984f753ceaddc31d8 (diff)
Added PACKAGE_XXX rename to avoid name clashes when nDPI is used inside another project that use the autotools
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 9e46d4b64..efe97ab8a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -41,4 +41,7 @@ cat configure.seed | sed \
> configure.ac
autoreconf -ivf
+cat configure | sed "s/#define PACKAGE_/#define NDPI_PACKAGE_/g" > configure.tmp
+cat configure.tmp > configure
+
./configure $*