diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-04-04 21:59:14 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-07-30 22:09:21 +0200 |
commit | b503900b1456e8bd4b60d1deb0ef7cc3665676f1 (patch) | |
tree | 92e7a88c190caf23f810e0a828b6da926f11879a /python/ndpi_example.py | |
parent | 13c5d6801e3b9fdc71bec88c300243a939346a8d (diff) |
First step of cleaning up the Makefile.in hell.first-step-to-automake-integration
The goal is to get rid of the Makefile.in's (replace it with Automake Makefile.am's)
as they duplicate lot's of text.
That decreases readability and is in general a bad design pattern.
It seems appropriate to use Automake for an Autoconf based project.
Currently achieved:
* using libtool to build the core library (+libtool's semantic versioning)
* out-of-source builds should work right now
* introducing Automake based Makefile in src/
* removed some (maybe) unused GIT ignored files
* provide some small python fixes
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'python/ndpi_example.py')
-rwxr-xr-x | python/ndpi_example.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/ndpi_example.py b/python/ndpi_example.py index d134d3947..7b932941d 100755 --- a/python/ndpi_example.py +++ b/python/ndpi_example.py @@ -100,6 +100,8 @@ lista = [] # used to avoid impropriate memory deallocation from python # check ndpi version if ndpi.ndpi_get_api_version() != ndpi.ndpi_wrap_get_api_version(): print("nDPI Library version mismatch: please make sure this code and the nDPI library are in sync\n") + print("libnDPI api version..: " + str(ndpi.ndpi_get_api_version())) + print("NDPI_WRAP api version: " + str(ndpi.ndpi_wrap_get_api_version())) sys.exit(-1) # create data structure of ndpi |