diff options
author | Luca <deri@ntop.org> | 2017-08-29 20:56:08 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2017-08-29 20:56:08 +0200 |
commit | 22beb7714d2a78d4a57a4cf78cf8da7102e549e3 (patch) | |
tree | 28bbc09bdb12f3e6aae254f20912c9ebec75a756 /autogen.sh | |
parent | 299b9435d0948c822d8aa7b129619c91a2b58138 (diff) |
Implements #376
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index 492ef3bf6..0f366966a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,9 @@ #!/bin/sh +NDPI_MAJOR="2" +NDPI_MINOR="1" +NDPI_PATCH="0" +NDPI_VERSION_SHORT="$NDPI_MAJOR.$NDPI_MINOR.$NDPI_PATCH" /bin/rm -f configure config.h config.h.in src/lib/Makefile.in @@ -29,5 +33,6 @@ if test -z $AUTORECONF; then exit fi +cat configure.seed | sed "s/@NDPI_MAJOR@/$NDPI_MAJOR/g" | sed "s/@NDPI_MINOR@/$NDPI_MINOR/g" | sed "s/@NDPI_PATCH@/$NDPI_PATCH/g" | sed "s/@NDPI_VERSION_SHORT@/$NDPI_VERSION_SHORT/g" > configure.ac autoreconf -ivf ./configure $* |